• Hi
    I am using project panorama

    https://www.projectpanorama.com/docs/complimentary-plugins/

    how can I find which capaility i am looking for as i want to prevent it?
    the subscriber role can Add Document and approve it
    can edit the status of the task completion
    I want to prevent both of these
    how can i?
    I only want him to add doc but not approve it. and not to be able to edit / update task completion?
    please advice?

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    Try to search theme or plugin code folder for the “current_user_can(” string and look what capabilities it checks. The 1st parameter send to the “current_user_can(” will be user capability which is checked by this code.

    Under Linux the grep utility is very helpful:
    grep -r -n -e "current_user_can("

Viewing 1 replies (of 1 total)
  • The topic ‘how to know the capability?’ is closed to new replies.