You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Gregory Chanan (JIRA)" <ji...@apache.org> on 2013/10/09 22:08:42 UTC
[jira] [Created] (SENTRY-38) Cleanup Roles/DBRoles
Gregory Chanan created SENTRY-38:
------------------------------------
Summary: Cleanup Roles/DBRoles
Key: SENTRY-38
URL: https://issues.apache.org/jira/browse/SENTRY-38
Project: Sentry
Issue Type: Sub-task
Affects Versions: 1.3.0
Reporter: Gregory Chanan
Assignee: Gregory Chanan
Priority: Minor
Fix For: 1.3.0
The Roles interface now is kind of messy, because it has a DB-specific function:
{code}
public ImmutableSet<String> getRoles(@Nullable String database, String group, Boolean isURI);
{code}
It makes more sense to just have a Roles class that store roles, and have the PolicyEngine do the service-specific calculations.
--
This message was sent by Atlassian JIRA
(v6.1#6144)