Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Jorwoods/combining permissionsrules#1381

Merged
jacalata merged 9 commits intotableau:developmenttableau/server-client-python:developmentfrom
jorwoods:jorwoods/combining_permissionsrulesjorwoods/server-client-python:jorwoods/combining_permissionsrulesCopy head branch name to clipboard
Jun 15, 2024
Merged

Jorwoods/combining permissionsrules#1381
jacalata merged 9 commits intotableau:developmenttableau/server-client-python:developmentfrom
jorwoods:jorwoods/combining_permissionsrulesjorwoods/server-client-python:jorwoods/combining_permissionsrulesCopy head branch name to clipboard

Conversation

@jorwoods
Copy link
Contributor

@jorwoods jorwoods commented May 30, 2024

This allows for combining PermissionRules if the grantee type and id matches. The user of TSC can bitwise or | two or more rules together to keep the most permissive of rules. The user can bitwise and & them together to keep the most restrictive of rules.

Incidentally also adds the ability to check if two ReferenceItems are equal.

Allow | Allow = Allow
Allow | None = Allow
Allow | Deny = Allow
None | Deny = None
Deny | Deny = Deny

Allow & Allow = Allow
Allow & None = None
Allow & Deny = Deny
None & Deny = Deny
Deny & Deny = Deny

@jacalata jacalata merged commit 2f8fd5d into tableau:development Jun 15, 2024
@jorwoods jorwoods deleted the jorwoods/combining_permissionsrules branch June 15, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.