You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2020. It is now read-only.
Add extensions for getting the highest role with a given permission and allow predicates on GetHighestRole
-- Role GetHighestRole(this Member m);++ Role GetHighestRole(this Member m, Func<Role,bool> pred);++ Role GetHighestRole(this Member m) => m.GetHighestRole(_ => true);++ Role GetHighestRoleWithPermission(this Member m , Perm p) => m.GetHighestRole(x => x.HasPermission(p));