Skip to content

Commit

Permalink
security: make SecurityApi#getCurrentUserPermissions return Set<String>
Browse files Browse the repository at this point in the history
See killbill/killbill#1126.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
  • Loading branch information
pierre committed Apr 14, 2019
1 parent 69975e0 commit 1230ae9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS
@@ -1,3 +1,6 @@
0.53.5
Make SecurityApi#getCurrentUserPermissions return Set<String>

0.53.4
Add Catalog#getNextPlanVersion api

Expand Down
Expand Up @@ -57,7 +57,7 @@ public interface SecurityApi extends KillbillApi {
* @param context tenant context
* @return the set of permissions for the current user
*/
Set<Permission> getCurrentUserPermissions(TenantContext context);
Set<String> getCurrentUserPermissions(TenantContext context);

/**
* Check the current user has the set of permissions.
Expand Down

0 comments on commit 1230ae9

Please sign in to comment.