Skip to content

Dashboard accessible to non admin users #75

@nhinze

Description

@nhinze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions