From ac18f86937cee66f697dc1673785ae13ca5c7899 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Wed, 9 Sep 2015 08:32:17 +1000 Subject: [PATCH] Fixes an issue where admins updating self see access denied Only when the user has no permission to edit other admins Refs #831 --- .../backend/controllers/users/myaccount.htm | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/modules/backend/controllers/users/myaccount.htm b/modules/backend/controllers/users/myaccount.htm index fefdde1a4..54b561d7c 100644 --- a/modules/backend/controllers/users/myaccount.htm +++ b/modules/backend/controllers/users/myaccount.htm @@ -28,15 +28,17 @@ class="btn btn-primary"> - + user->hasAccess('backend.manage_users')): ?> + +