Setting Permissions for all users

1
0
-1

Hello everyone,

I have the following line as custom permission (which works fine for one user):

profile|User=[read_equipment,read_role_users]

How can I set the permissions for all users and not only for "User"?

Thank you!

Comments

Submitted by weglineduardo on Wed, 10/19/2022 - 19:06

Hello FelixMars.

I have a problem similar to what you had.

Can you share what file you modified to make it work?

Y ..

Can you share the entire content of that file so that I can read it so I understand what is wrong with my permissions?

If you can send it here. weglineduardo@hotmail.com. Greetings and thanks

Submitted by emmanuel.duchas... on Fri, 10/28/2022 - 13:09

Hi,

The file to modify is custom-permissions-mapping.properties
This file is all commented by default and provides example that you can uncomment and customize.

Regards,
Emmanuel

1 answer

1
+2
-1
This one is the BEST answer!

Hello,

Be careful

    profile|User

means "the profile that is named User".

So what you can do is create a dedicated profile and map it to everyone.

then add the permissions line:

    profile|myDedicatedProfile=[read_equipment,read_role_users]

Hope this helps

Comments

Submitted by weglineduardo on Wed, 10/19/2022 - 19:07

Hello

I have a problem similar to what you had.

Can you share what file you modified to make it work?

Y ..

Can you share the entire content of that file so that I can read it so I understand what is wrong with my permissions?

If you can send it here. weglineduardo@hotmail.com. Greetings and thanks

Notifications