From 29c059556bcc0f2291e74ec5a78680a23a1d9dc0 Mon Sep 17 00:00:00 2001 From: Alexey Kontsevoy Date: Sat, 11 Mar 2017 19:14:46 -0500 Subject: [PATCH] bug fix --- lib/web/ui/roleaccess.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/web/ui/roleaccess.go b/lib/web/ui/roleaccess.go index e55f622600fef..180377a6522f6 100644 --- a/lib/web/ui/roleaccess.go +++ b/lib/web/ui/roleaccess.go @@ -98,7 +98,7 @@ func (a *RoleAccess) applyAdmin(teleRole teleservices.Role) { applyResourceAccess(teleRole, adminResources, teleservices.RW()) } else { teleRole.SetResource(teleservices.Wildcard, none()) - applyResourceAccess(teleRole, adminResources, none()) + applyResourceAccess(teleRole, adminResources, teleservices.RO()) } }