I want some users to assign roles to other users but should not be able to access other user data. I’ve created a single doctype where the specific user can only edit the role part of other users but it seems that ignore_permissions doesn’t work? How can I solve this?
@Rabie_Moses_Santilla the screenshot you shared is about duplicate name . can you explain more about your “ignore permissions” issue . and why are you using python to set permissions for a doctype ? there is a UI to do such a thing.
I want to do it programmatically because the assigned user that would change the role of other users is not permitted to set other roles to other users. The only role he can add to other users is Pawnshop Cashier which is a custom role that I made. That’s why he can’t use the UI for security purposes.