1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question about "Depends on Permission ID"

Discussion in 'XenForo Development Discussions' started by Kevin, Dec 5, 2011.

  1. Kevin

    Kevin Well-Known Member

    Is there a quick summary of the proper usage of the "Depends on Permission ID" option when setting permissions?

    What I am after is that I have two options; first option is something like 'view' the page and then a second option would be to take an 'action' on the page. That way somebody could view the page but not do any actions on the page. However, in order for somebody to take action on the page they must have permission to view the page.

    Would "Depends on Permission ID" do that for me?
     
    ChemicalKicks likes this.
  2. Kier

    Kier XenForo Developer Staff Member

    Yes, that's exactly what it's for :)
     
    ChemicalKicks likes this.
  3. Kevin

    Kevin Well-Known Member

    Thanks for confirming. :cool:

    I was playing around a bit but wasn't sure what to expect from the ACP GUI from an admin's perspective (eg: If I click on the 'action' permission, would I get warning or anything about the 'view' permission being required). Darn it, now I'll never get any sleep... must experiment a bit more tonight. :D
     
    ChemicalKicks likes this.

Share This Page