Skip to content

Restrict local accounts/users from creating rules without lifetime#1047

Open
juanpablosalas wants to merge 1 commit into
dmwm:masterfrom
juanpablosalas:user_permissions
Open

Restrict local accounts/users from creating rules without lifetime#1047
juanpablosalas wants to merge 1 commit into
dmwm:masterfrom
juanpablosalas:user_permissions

Conversation

@juanpablosalas

Copy link
Copy Markdown
Contributor

Uses get_account method from Rucio core and AccountType to determine if account is user, or local service account if it ends with _local. If the rule has not lifetime, restricts it from being created using PermissionResult.

Comment thread src/policy/CMSRucioPolicy/permission.py Outdated
@haozturk

haozturk commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Looks good now, thanks JP. Have you tested this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants