Skip to content

Commit

Permalink
Merge pull request #862 from uc-cdis/chore/dep_test
Browse files Browse the repository at this point in the history
(PXP-7219) Update Fence to use latest gen3authz and cdiserrors
  • Loading branch information
BinamB committed Jan 20, 2021
2 parents a2637c3 + d3b7bb4 commit a60cf4e
Show file tree
Hide file tree
Showing 5 changed files with 534 additions and 728 deletions.
4 changes: 1 addition & 3 deletions fence/sync/sync_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -1502,9 +1502,7 @@ def _update_authz_in_arborist(self, session, user_projects, user_yaml=None):
# from authorization sources get policies revoked
arborist_user_projects = {}
try:
arborist_users = self.arborist_client.get(
url=self.arborist_client._user_url
).json["users"]
arborist_users = self.arborist_client.get_users().json["users"]

# construct user information, NOTE the lowering of the username. when adding/
# removing access, the case in the Fence db is used. For combining access, it is
Expand Down

0 comments on commit a60cf4e

Please sign in to comment.