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

feat: ✨ add user token as permission constraints 2.0 #5278

Merged

Conversation

gertzakis
Copy link
Contributor

@gertzakis gertzakis commented Feb 13, 2024

Closes #5104

What's Changed

Added functionality to reference the current User in permission's constraints. That way an administrator can filter models per the active user (eg Change log)

Screenshots

TODO

  • Explanation of Change(s)
  • Added change log fragment(s) (for more information see the documentation)
  • Attached Screenshots, Payload Example
  • Unit, Integration Tests
  • Documentation Updates (when adding/changing features)
  • Example Plugin Updates (when adding/changing features)
  • Outline Remaining Work, Constraints from Design

@gertzakis gertzakis force-pushed the feat-permission-constraints-2.0 branch from e739f5e to 34652e8 Compare February 13, 2024 14:57
@glennmatthews glennmatthews changed the title feat: ✨ add token as permission constraints feat: ✨ add user token as permission constraints Feb 13, 2024
@gertzakis gertzakis changed the title feat: ✨ add user token as permission constraints feat: ✨ add user token as permission constraints 2.0 Feb 13, 2024
@gertzakis gertzakis force-pushed the feat-permission-constraints-2.0 branch from ecd54a3 to caeaa35 Compare February 13, 2024 15:37
nautobot/core/tests/test_authentication.py Outdated Show resolved Hide resolved
nautobot/core/tests/test_authentication.py Outdated Show resolved Hide resolved
nautobot/core/tests/test_authentication.py Show resolved Hide resolved
nautobot/users/admin.py Outdated Show resolved Hide resolved
@glennmatthews glennmatthews merged commit b9c0b83 into nautobot:next Feb 16, 2024
17 checks passed
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.

None yet

2 participants