Skip to content

fix: Authorize interim session requests using data-driven group roles#4120

Merged
rjsparks merged 7 commits into
ietf-tools:mainfrom
painless-security:jennifer/tix4004-refactor
Jun 22, 2022
Merged

fix: Authorize interim session requests using data-driven group roles#4120
rjsparks merged 7 commits into
ietf-tools:mainfrom
painless-security:jennifer/tix4004-refactor

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

Fixes #4004

Comment thread ietf/group/utils.py
return True
return group.has_role(user, group.features.groupman_roles)

def groups_managed_by(user, group_queryset=None):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very easy to read!

@rjsparks rjsparks merged commit 4f34c04 into ietf-tools:main Jun 22, 2022
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 26, 2022
@jennifer-richards jennifer-richards deleted the jennifer/tix4004-refactor branch June 27, 2022 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EMODIR can't request an interim session

2 participants