|
How to protect my categories? |
|
|
|
Did you read the "How to protect my sections?" article?
- Navigate to your ACL root folder.
- Go to the subfolder calls permissions.
- Create a subfolder with name "com_content".
Why "com_content"? This is component name for your articles. - Now we need to think of the Joomla! articles hierarchie, that means, we have the section, categories inside and the articles inside categories.
Starting with Joomla! FAQs
Example:
ARTICLE LAYOUT
|
Sections (ID)
|
Categories (ID)
|
Articles
(ID)
|
| |
| About Joomla! (4) |
The Project (25) |
Support and Documentation (20) |
| |
Joomla! License Guidelines (5) |
| |
The CMS (29) |
What's New in 1.5? (22) |
| |
| News (1) |
Latest (1) |
Welcome to Joomla! (1) |
| |
Joomla Community Portal Online (45) |
| |
The New Joomla Security Strike Team (44) |
| |
Newsflash (3) |
Newsflash 1 (2) |
| |
Newsflash 2 (3) |
GROUPS
|
Groups
|
Users
|
| |
| group01 |
user1 |
| |
user2 |
| |
user3 |
| |
| group02 |
user2 |
| |
| group03 |
user4 |
| |
user5 |
| |
user6 |
How to protect the whole category?
A) Manually
Let's continue with our example. We want to restrict the category The CMS (29) for group03. That means, all articles inside are visible for the group03 only.
If you set the permission for CATEGORY, you can not set the different one to articles inside.
- Create a folder with section ID name. I create a folder calls "4" (ID for section "About Joomla!" is 4).
- Navigate to the "4" section folder. Then you create a folder with category ID. I created the folder calls "29" (category The CMS has ID number 29).
- Go to the 29 folder and create the subfolder calls "view" (because of restriction for article viewing).
- Then you go to the "view" folder and create a file with name based on your group name. That means, I create one file calls group02.group.
Directory list:
--- com_content (folder - extension)
------ 4 (folder - section ID)
--------- 29 (folder - category ID)
------------ view (folder - Joomla! task)
--------------- group02.group (file - group name)
- That's all :) The category The CMS is restricted to users "user2" (group02)
B) Automatically
Notes:
- Visit Category Manager page. There
is a FACL icon next to the toolbar ones.
- Click on FACL icon.
 - Now you can manage the permission from Joomla! administration directly.
|