You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Don Bosco Durai (JIRA)" <ji...@apache.org> on 2019/06/14 19:50:00 UTC

[jira] [Created] (RANGER-2471) Service Def only support 127 permissions

Don Bosco Durai created RANGER-2471:
---------------------------------------

             Summary: Service Def only support 127 permissions 
                 Key: RANGER-2471
                 URL: https://issues.apache.org/jira/browse/RANGER-2471
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Don Bosco Durai


Service Def contains the list of permissions it supports, e.g. Select, Insert in Hive. The DB field we are using storing the sort order (x_access_type_def::sort_order) is currently tinyint(3), which limits the number of permissions supported to around 128. 

While this works for most of the service definitions, but it puts a limitation for the common service def used by "Tags", which is generally a cumulative of all the permissions.

We need to change the column to a DB type which can support more values. e.g. smallint




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)