Skip to content

User role issues #57

@allanaaa

Description

@allanaaa

My plugin settings are as follows:

Image

With a user set to Admin, I can see the comment section on the public page, both the form and existing comments.

With the user set to Researcher, I can't see the form, but I can see existing comments. The heading appears whether there are comments or not.

Image

With the user set to Contributor, I can see the form - but without the heading?

Image

I think what should be happening is that:
Admin shouldn't be able to see the comment form OR existing comments.
Contributor should be able to see the heading.
Researcher shouldn't see the heading if there are no comments. Or, we could show a "There are no comments." message under it.

If there's a reason for Admin to always have access to everything, it should be removed as options from the plugin settings.

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