The dashboard is accessible to non-admin users by typing in the URL:
/translation_center/dashboard
I used the following to restrict the admin users:
def can_admin_translations?
self.email == 'admin@mydomain.com'
end
The non-admin users cannot accept translations as expected and the the "Dashboard" link is not visible. However, if a user types in the "/translation_center/dashboard" URL, the dashboard is still accessible to them.
The dashboard is accessible to non-admin users by typing in the URL:
/translation_center/dashboard
I used the following to restrict the admin users:
def can_admin_translations? self.email == 'admin@mydomain.com' end
The non-admin users cannot accept translations as expected and the the "Dashboard" link is not visible. However, if a user types in the "/translation_center/dashboard" URL, the dashboard is still accessible to them.