How does access restrictions for categories work?
Access Restrictions feature in DJ-Classifieds allows setting different restrictions for a chosen category.
Essentially, it is convenient when you allow specific users to perform specific actions within a given category.
Open the DJ-Classifieds component and go to "Categories". You can add a new category or edit an existing one.
Choose "New" or "Edit" selected category and open the "Access Restrictions" tab.
![](/templates/yootheme/cache/fc/restrictionaccess-fc279a7c.png)
There are few options to choose from:
Access only for adults
It is possible to restrict access to a given category only for adult users, forcing them to confirm they are over 18 years old, before showing the category content.
You can choose between "Default/Inherit" or "Restricted".
![](/templates/yootheme/cache/f7/restrictadult-f76f2904.png)
Viewing Access Restrictions
You can restrict the viewing access of the category to a certain Joomla! Viewing Access Level.
![](/templates/yootheme/cache/be/viewaccess-be84c0d8.png)
Viewing advert details Access Restrictions
You can restrict the viewing access for the advert details to a certain Joomla! Viewing Access Level.
![](/templates/yootheme/cache/4b/viewaddaccess-4b12290c.png)
Adding ads Access Restrictions
You can restrict users from posting ads in certain category.
![](/templates/yootheme/cache/27/addadaccess-273b8e7b.png)