Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Restrict certain button bar actions
422
MVP
We have extended our buttonbar script, succesfully adding new tool icons.
However I would like to just make these available to certain user groups. I am looking for php fix for this please, not css.
Any ideas would be great thanks
To add:
Hide certain button bar icons using php unless user belongs to say admin group, moderator group etc
There was an error rendering this rich post.
1
Comments
Ten bucks say there's something useful in
Gdn::Session()
that you could use.Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub