-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to delete some user access. #1733
Comments
The 422 error scenario during removing user access:
The backend schema implentation should be correct after verifying user (user access) creation in database. The user (if new) when first time is inserted into database it should already have "user_guid" value. There are several places in backend inserting a user:
Collecting such **empty user_guid** records found: |
Luckily for 422 error (empty user_guid) case in PROD all BCeID type users (with empty user_guid) are all non-existing users (I searched for all of them) except one, but that one is FOM's testing account in PROD('FOM_TESTBCEID4') so we can remove all associated BCeID user role permissions (fam_user_role_xref). In this ticket, I used db script to now clean up all BCeID users' user role permissions for the ones associated with the empty user_guid in DEV/TEST/PROD environments and also remove these users from fam_user table. However, for the IDIR type users who are having empty user_guid, some are valid users (after search) and are associated with user/role permission assignments. So at this time I will leave it and will create a separate ticket to discuss options and resolve these IDIR type users with empty user_guid. |
Sounds good. Thanks Ian! Great investigative work. @ianliuwk1019 |
Link to new ticket #1742 |
FYI, I was looking at some settings in FAM repo and see this for Github "Projects": |
The system seems to have trouble deleting some user access but some are fine.
For different scenarios:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Delete should be successful (for application admin at least)
Additional context
The log on user has these privileges:
The text was updated successfully, but these errors were encountered: