Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BB2-3243: Add --all option to update_access_grants Django command #1204

Merged
merged 3 commits into from
Jun 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed extra lines
  • Loading branch information
loganbertram committed Jun 6, 2024
commit 648aaf6f3e114d59dddcc0aa7decdd1660e71992
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def add_arguments(self, parser):
parser.add_argument('--all', action='store_true', help="Update access grants for all applications")
parser.set_defaults(all=False)


def handle(self, *args, **options):
if options['applications']:
application_ids = options['applications'].split(',')
Expand All @@ -37,5 +36,3 @@ def handle(self, *args, **options):
grant.update_expiration_date()
else:
continue


Loading