
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 02:47 AM
Hi Team ,
gs.getUser().hasRoles(); returns false for users with only snc_internal role.
I understood that its a baseline auto generated role.
Do we have any supported document ?
Thanks,
Feddy
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 02:56 AM
Hi,
If yo8u are looking for documentation on auto creation of snc_internal role, then here it is. It gets added by Explicit Roles plugin.
Mark the comment as a correct answer and also helpful if this has helped to solve the problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 02:56 AM
Hi,
If yo8u are looking for documentation on auto creation of snc_internal role, then here it is. It gets added by Explicit Roles plugin.
Mark the comment as a correct answer and also helpful if this has helped to solve the problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 03:06 AM
Thanks.
I could see why 'gs.getUser().hasRoles();' is printing false from that doc.