Skip to content

Potential admin only link open to all #86

@danielpclark

Description

@danielpclark

Looking at the site (apart from ActiveAdmin) the link for "Creating New Protocol" under Manage Protocols page is available whether an admin is logged in or not. I'm of the understanding that only the admins are to create new protocols. Am I remembering this correctly or am I mistaken?

If so it would be a simple thing to add an admin_user_signed_in? check for that resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions