Security problem

1
Hi, I have created an extra role in Mendix (SuperUser). I also give this role the following role in module System: Administrator. When I create an account with the new role SuperUser and use this new Account to create another new account, I get the following errors on the Blocked and Active fields: Could not create widget mxui.widget.BoolSelect: Error: No permission to read or write attribute Blocked of entity Administration.Account, check security. When I give the user the role Administrator. I don't get any errors and everything works fine. It look like that the new role doesn't use the correct security on boolean fields in module System. Any ideas how solve this for the role SuperUser? Thanks, Rob Steenvoorden
asked
5 answers
1

Did you assign the SuperUser Role the rights to manage users with the roles you are trying to assign to the new user? You can find this setting in the user role editor, at the bottom under "Users with this user role can manage users with at most the following user roles". See also: https://world.mendix.com/display/refguide5/User+Role

answered
0

We encountered the same problem. When using 'manage users with corresponding roles' in the security tab, something goes wrong and the booleans aren't readable.

I made a ticket for it, but didn't get around to making a test project for it yet, so please do if you have time.

answered
0

Thanks! This solved the error.

answered
0

@Bart It only worked after changing the System.Role to Administrator for the SuperUser role. This isn't the solution of course, since you don't want to give the SuperUser all the Administrator rights.

answered
0

See my response here

answered