Skip to content

Commit

Permalink
Revert "Fix authorization issue in AdminController"
Browse files Browse the repository at this point in the history
This reverts commit a137c69.
  • Loading branch information
matsbov committed Feb 23, 2024
1 parent 86a206b commit f17e22d
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import au.org.ala.web.AlaSecured
class AdminController {

def index () {
// SBDI: for unknown reasons the above annotation doesn't work for this controller
if(!request.isUserInRole("ROLE_ADMIN"))
redirect(controller: 'logger', action: 'notAuthorised')

render(view: "admin")
}

Expand Down

0 comments on commit f17e22d

Please sign in to comment.