Checkpoint commit - code does not yet rebuild. Migrating HasAccess() from Person to Authority
This commit is contained in:
@@ -83,7 +83,7 @@ public class DataV5Base : Page
|
||||
|
||||
if (this.PageAccessRequired != null)
|
||||
{
|
||||
if (!CurrentUser.HasAccess (this.PageAccessRequired))
|
||||
if (!this.CurrentAuthority.HasAccess (this.PageAccessRequired))
|
||||
{
|
||||
Response.Redirect ("/Pages/v5/Security/AccessDenied.aspx");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user