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:
4
app/views/admin/dashboard/index.html.erb
Normal file
4
app/views/admin/dashboard/index.html.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<h2>Admin Panel</h2>
|
||||
<p>
|
||||
Ohai there, admin human.
|
||||
</p>
|
||||
Reference in New Issue
Block a user