Checkpoint commit - code does not yet rebuild. Migrating HasAccess() from Person to Authority

This commit is contained in:
Rick Falkvinge
2015-04-18 12:18:07 +02:00
parent ed9b490b15
commit 5e758e6c07
29 changed files with 187 additions and 163 deletions
+1 -1
View File
@@ -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");
}