Access granular permissions via backend?

Hey all,

I would like to be able to setup user groups/ update them via a custom control on the settings page. I need to base some of my logic on if they currently have access to x node.

I need to access user groups granular permissions (e.g. nodes they have access to, browse etc), but in Umbraco 13 I cannot see a way to do this? Looks like 15 might expose them easier via UserGroup but for 13 I cannot find a way to get to them.

If anyone knows how to do this (i may have missed something) please let me know.

Thanks!

Clearly I am blind and there is a way to do this. I will answer my own question.

private readonly IUserService _userService;

_userService.GetPermissions(new[] { group }, fallbackToDefaultPermissions: false);
1 Like