Authorize access to admin panel, etc.
Adds a separate admin namespace and base controller, with authorization by looking up the admin property in the user's LDAP account.
This commit is contained in:
2
app/views/shared/status_forbidden.html.erb
Normal file
2
app/views/shared/status_forbidden.html.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<h2>Access forbidden</h2>
|
||||
<p>Not with those shoes, buddy.</p>
|
||||
Reference in New Issue
Block a user