Thread:Project:Support desk/Custom Group Rights Issue

Hello There,

I am creating a custom group in LocalSetting.php file. For that custom group, I want to give rights as read only. The member of that group would only have read access no other. Please review below code and let me know what is missing.

After doing this I was expecting that ROUser would have read access only. However, when I was checking current user who is member of ROUser group only returning all above rights as a part of user rights. I am using following code to check current login user rights.

It will be great help if you expect help me to resolve the issue.