Explorar o código

HUE-8602 [sentry] Remove ALTER and DROP in the Hive section

Romain Rigaux %!s(int64=7) %!d(string=hai) anos
pai
achega
e76e9fe0de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/security/src/security/static/security/js/hive.ko.js

+ 1 - 1
apps/security/src/security/static/security/js/hive.ko.js

@@ -829,7 +829,7 @@ var HiveViewModel = (function () {
     self.availableActions = function(scope) {
     self.availableActions = function(scope) {
       var actions = ['SELECT', 'INSERT', 'ALL'];
       var actions = ['SELECT', 'INSERT', 'ALL'];
       var databaseActions = ['CREATE'];
       var databaseActions = ['CREATE'];
-      var tableActions = ['REFRESH', 'ALTER', 'DROP'];
+      var tableActions = ['REFRESH']; //, 'ALTER', 'DROP'];
       switch (scope) {
       switch (scope) {
         case 'SERVER':
         case 'SERVER':
         case 'DATABASE':
         case 'DATABASE':