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 deeabf0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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
@@ -1,7 +1,9 @@
/*
* Copyright 2010-2013 Ning, Inc.
* Copyright 2014-2019 Groupon, Inc
* Copyright 2014-2019 The Billing Project, LLC
*
* Ning licenses this file to you under the Apache License, version 2.0
* The Billing Project licenses this file to you under the Apache License, version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
Expand Down Expand Up @@ -57,7 +59,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 deeabf0

Please sign in to comment.