Skip to content

Commit

Permalink
Remove attrread privilege - not API possible #42
Browse files Browse the repository at this point in the history
  • Loading branch information
astrochun committed Sep 28, 2020
1 parent f3ceb18 commit 7c7289d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/add_grouper_groups
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def add_groups(groups, group_type, group_descriptions, grouper_api, log=None, ad
log.info(f'Adding privileges for grouperadmins ...')
try:
add_privilege = grouper_api.add_privilege(admins, group, group_type,
['read', 'view', 'optout', 'attrread'])
['read', 'view', 'optout'])
if add_privilege:
log.info("SUCCESS")
except HTTPError:
Expand All @@ -97,7 +97,6 @@ def add_groups(groups, group_type, group_descriptions, grouper_api, log=None, ad
log.info('dry run, not performing privilege add')



if __name__ == '__main__':
# Parse command-line arguments
parser = argparse.ArgumentParser(description='Command-line driver to add a Grouper group.')
Expand Down

0 comments on commit 7c7289d

Please sign in to comment.