-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix duplicate privileges in webapp #721
Labels
Comments
This affects almost all orgs currently. Query to check impact:
|
This was referenced Jul 9, 2024
1t5j0y
added a commit
that referenced
this issue
Jul 10, 2024
Queries in #746 to be executed (or alternate queries to remove dupes depending on environment) before deploying this. |
1t5j0y
added a commit
that referenced
this issue
Jul 11, 2024
Please add query to the release task if not added. |
|
himeshr
added a commit
that referenced
this issue
Jul 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue:
AC:
Old: Ignore
Context:
Via #683 and maybe other routes, it is possible for duplicate non-voided group_privilege records for the same entity to be created in the database.
This leads to confusing behaviour.
In https://avni.freshdesk.com/a/tickets/3760 we saw that there are duplicate records for a few entities, some with
allow
asfalse
and the other astrue
. On webapp user groups -> permissions screen, the true records were not shown. On client, since there is a record withallow
astrue
, the privilege is allowed and sync tries to pull entities that the user does not have privileges to and is causing association errors during sync.Further analysis might be required.
The text was updated successfully, but these errors were encountered: