You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Ryan Pridgeon (JIRA)" <ji...@apache.org> on 2015/01/21 19:43:34 UTC

[jira] [Created] (SENTRY-616) Sentry validate Groups on Grant

Ryan Pridgeon created SENTRY-616:
------------------------------------

             Summary: Sentry validate Groups on Grant
                 Key: SENTRY-616
                 URL: https://issues.apache.org/jira/browse/SENTRY-616
             Project: Sentry
          Issue Type: Improvement
            Reporter: Ryan Pridgeon
            Priority: Minor


Currently I can grant a Role to Groups which do not exists. Although this isn't a huge issue it could help to avoid future headaches. 

e.g. 

Grant role Admin to group userss; 
Ok
id ryan
uid=0(ryan) gid=0(ryan) groups=0(users)

This is a relatively easy to debug issue, but it would be nice to have a validation to prevent me from having it in the first place. 

A simple Warning that let's me know I am granting to a non-existent group would suffice. This way I am still notified for potential typos, but not prevented from creating groups after assigning Roles.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)