Password lock option for category and discussion page
I am on 2.1.9 and was wondering if there is an option to put a password to a category or a discussion within a category so only invitee with password can view and post when non invitee can only see the category or discussion listing.
I am planning on setting up exclusive club categories/discussions tailored for only screened/qualified members as in cycling, hunting, boating club and so on.
Thanks for the help in advance.
Best Answer
-
R_J Admin
That would basically being an authentification on top of the normal authentification. In Vanilla you have the decision if a user is allowed to do something set in roles which are connected to permissions.
What you should do is creating some new roles: CyclingMember (or Cyclist), HuntingMember (or Hunter),... The names do not really matter, they should only be informative and descriptive.
Then give such categories custom permissions (tick the checkbox "This category has custom permissions." that you can see when you edit a category). If you are editing the Cycling category, assign the Cyclists Add and View permission and normal Members only View permission.
Now you can assign your privileged cycling users the CyclingMember role and your done! They will be able to use the category like any other category and all others can only read, but not write to this category.
6
Answers
That would basically being an authentification on top of the normal authentification. In Vanilla you have the decision if a user is allowed to do something set in roles which are connected to permissions.
What you should do is creating some new roles: CyclingMember (or Cyclist), HuntingMember (or Hunter),... The names do not really matter, they should only be informative and descriptive.
Then give such categories custom permissions (tick the checkbox "This category has custom permissions." that you can see when you edit a category). If you are editing the Cycling category, assign the Cyclists Add and View permission and normal Members only View permission.
Now you can assign your privileged cycling users the CyclingMember role and your done! They will be able to use the category like any other category and all others can only read, but not write to this category.
It worked out pretty well.
Thanks a lot.