Z
Z
zyambaev2014-09-15 15:16:01
Programming
zyambaev, 2014-09-15 15:16:01

How to provide access rights to certain forum features?

We are writing a forum. There is a tree system
Rubric
Topic
Subtopic
Topic1
Topic2
Topic3
​​how to provide a security system so that some can read, others can't, others can post and read, and so on. Tell me how such access systems are generally solved.
thank.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Skogorev, 2014-09-15
@EnterSandman

Roles.
Add the role to the user:
1 - guest
2 - registered
3 - moderator
4 - admin
further add the same parameter and permissions to the section (topic) - for example, 2,3 and 4
then check.
the topic can be viewed by everyone except guests

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question