SlideShare a Scribd company logo
Joomla! 1.6 ACL
                Sander Potjer




Sander	
  Potjer	
  Webdesign
twi$er:	
  @sanderpotjer
web:	
  www.sanderpotjer.nl
Joomla! 1.6 ACL
About me
• Co-founder of JoomlaCommunity.eu

• Organizer Joomla!Days Netherlands

• Organizer Joomla! User Groups in The Netherlands

• Company: Sander Potjer Webdesign

• Yireo/Jira ICT

• Student Architecture
Joomla! 1.6 ACL




Joomla! 1.6 ACL
Joomla! 1.6 ACL
      It took a while...
                                                                  DrupalCon, October 2005
                                                                      Johan Janssens




•   http://www.slideshare.net/JohanJanssens/drupalcon-2005-joomla-drupal-and-you-presentation
Joomla! 1.6 ACL
ACL?!
• ACL = Access Control List

• Access to parts of the website
 – e.g. menu / module visibility
 – “view” action




• User actions on objects
 – e.g. create / edit / delete article
Joomla! 1.6 ACL
ACL in Joomla! 1.5 & 1.6 (Access)


• 7 fixed Groups                         • Unlimited Groups
 – Public, Registered, Author, Editor,   – user-defined
   Publisher, Manager, Administrator     – not hierarchical
   and Super-Administrator
 – Hierarchical structure


• User can be assigned to                • User can be assigned to
  one group                                multiple groups
Joomla! 1.6 ACL
ACL in Joomla! 1.5 & 1.6 (Access)


• 3 fixed Access Levels             • Unlimited Access Levels
 – Public, Registered and Special   – user-defined




• Fixed relation between            • Any combination of
  Groups and Access Levels            Groups can be assigned
                                      to any Access Level
Joomla! 1.6 ACL
ACL in Joomla! 1.5 & 1.6 (Actions)


• Fixed Actions per group
    – Create / edit / delete /
      admin access / etc.


• Permission scope for
  entire site
    – Same permission for all objects


• Permission inheritance
  not applicable

•   http://brian.teeman.net/joomla-gps/joomla-15-acl-explained.html
Joomla! 1.6 ACL
       ACL in Joomla! 1.5 & 1.6 (Actions)




•   http://brian.teeman.net/joomla-gps/joomla-15-acl-explained.html
Joomla! 1.6 ACL
ACL in Joomla! 1.5 & 1.6 (Actions)


• Fixed Actions per group            • User defined Actions per
 – Create / edit / delete /            group
   admin access / etc.               – Create / edit / delete / admin
                                       access / etc.
• Permission scope for               • Permission scope at
  entire site                          multiple levels
 – Same permission for all objects   – Site, Component, Category,
                                       Object

• Permission inheritance             • Permission can be
  not applicable                       inherited
                                     – from parent Groups and parent
                                       Categories
Joomla! 1.6 ACL




Joomla! 1.6 ACL Overview
Joomla! 1.6 ACL
Joomla 1.6 ACL Overview




•   http://community.joomla.org/blogs/community/1252-16-acl.html
Joomla! 1.6 ACL
Joomla 1.6 ACL Overview




•   http://community.joomla.org/blogs/community/1252-16-acl.html
Joomla! 1.6 ACL
Joomla 1.6 ACL: User
                       • Guest is also a
                         user

                       • Users can be
                         assigned to one or
                         several groups
Joomla! 1.6 ACL
Joomla 1.6 ACL Overview




•   http://community.joomla.org/blogs/community/1252-16-acl.html
Joomla! 1.6 ACL
 Joomla 1.6 ACL: Permissions
• Assigned to group (not to a user!)

                                       • 9 Actions
                                       –   Site Login
                                       –   Admin Login
                                       –   Super Admin
                                       –   Access Component
                                       –   Create
                                       –   Delete
                                       –   Edit
                                       –   Edit State
                                       –   Edit Own
Joomla! 1.6 ACL
Joomla 1.6 ACL Overview




•   http://community.joomla.org/blogs/community/1252-16-acl.html
Joomla! 1.6 ACL
Joomla 1.6 ACL: Groups

                 • Users with same permissions

                 • User can be in multiple groups

                 • Inherit permissions from
                   parent groups

                 • Unlimited (sub-)groups

                 • Keep it simple! Only use
                   nested groups if needed
Joomla! 1.6 ACL
Joomla 1.6 ACL Overview




•   http://community.joomla.org/blogs/community/1252-16-acl.html
Joomla! 1.6 ACL
Joomla 1.6 ACL: Access Level

                      • Which group can view
                        what (article, menu,
                        module, etc.)

                      • Permissions are not
                        inherited between
                        Access Levels

                      • Even Super Users can
                        not view content on
                        frontend
Joomla! 1.6 ACL
Joomla 1.6 ACL Overview




•   http://community.joomla.org/blogs/community/1252-16-acl.html
Joomla! 1.6 ACL




Permissions
Joomla! 1.6 ACL
How Permissions work


• 4 possible permission settings

 – Not Set

 – Inherited

 – Allowed

 – Denied
Joomla! 1.6 ACL
How Permissions work
• Not set
 – ‘soft’ deny
 – can be overridden by ‘Allowed’ or ‘Denied’
Joomla! 1.6 ACL
How Permissions work
• Inherited
 – value from a parent permission level
 – value from a parent user group
 – can be overridden by ‘Allowed’ or ‘Denied’
Joomla! 1.6 ACL
How Permissions work
• Allowed
 – action for current permission level and lower levels
 – action for current user group and child groups
 – can be overridden by ‘Denied’
Joomla! 1.6 ACL
How Permissions work
• Denied
 –   action for current permission level and lower levels
 –   action for current user group and child groups
 –   can’t be overridden at all
 –   always win!
Joomla! 1.6 ACL
Permission Hierarchy Levels


• Level 1: Global configuration
 – default permissions settings for actions for a group
Joomla! 1.6 ACL
Permissions: Global Configuration (Level 1)
Joomla! 1.6 ACL
Permission Hierarchy Levels


• Level 1: Global configuration
 – default permissions settings for actions for a group
• Level 2: Component Options
 – can override the permissions of Level 1
Joomla! 1.6 ACL
Permissions: Component Options (Level 2)
Joomla! 1.6 ACL
Permissions: Component Options (Level 2)
Joomla! 1.6 ACL
Permission Hierarchy Levels


• Level 1: Global configuration
 – default permissions settings for actions for a group
• Level 2: Component Options
 – can override the permissions of Level 1
• Level 3: Category
 – can override the permissions of Level 1 & Level 2
 – available for components with categories (Articles, Banners, etc...)
Joomla! 1.6 ACL
Permissions: Category (Level 3)
Joomla! 1.6 ACL
Permissions: Category (Level 3)
Joomla! 1.6 ACL
Permission Hierarchy Levels


• Level 1: Global configuration
 – default permissions settings for actions for a group
• Level 2: Component Options
 – can override the permissions of Level 1
• Level 3: Category
 – can override the permissions of Level 1 & Level 2
 – available for components with categories (Articles, Banners, etc...)
• Level 4: Item
 – can override the permissions of Level 1 & Level 2 & Level 3
 – only available for articles in Joomla 1.6 core
Joomla! 1.6 ACL
Permissions: Item (Level 4)
Joomla! 1.6 ACL
Permissions: Item (Level 4)
Joomla! 1.6 ACL
Permission Hierarchy Levels
• Level 1: Global configuration
 – default permissions settings for actions for a group
• Level 2: Component Options
 – can override the permissions of Level 1
• Level 3: Category
 – can override the permissions of Level 1 & Level 2
 – available for components with categories (Articles, Banners, etc...)
• Level 4: Item
 – can override the permissions of Level 1 & Level 2 & Level 3
 – only available for articles in Joomla 1.6 core
Joomla! 1.6 ACL
Permission Hierarchy Levels
• Level 1: Global configuration
 – default permissions settings for actions for a group
• Level 2: Component Options
 – can override the permissions of Level 1
• Level 3: Category
 – can override the permissions of Level 1 & Level 2
 – available for components with categories (Articles, Banners, etc...)
• Level 4: Item
 – can override the permissions of Level 1 & Level 2 & Level 3
 – only available for articles in Joomla 1.6 core
• Override permissions of higher levels only works
  if permission setting is not ‘Denied’!
Joomla! 1.6 ACL
Inheriting example for ‘Create’ action


    Level 1


    Level 2


    Level 3


    Level 4



•   http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
Joomla! 1.6 ACL
Inheriting example for ‘Create’ action


    Level 1


    Level 2


    Level 3


    Level 4



•   http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
Joomla! 1.6 ACL
Inheriting example for ‘Create’ action


    Level 1


    Level 2


    Level 3


    Level 4



•   http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
Joomla! 1.6 ACL
Inheriting example for ‘Create’ action


    Level 1


    Level 2


    Level 3


    Level 4



•   http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
Joomla! 1.6 ACL
Inheriting example for ‘Create’ action


    Level 1


    Level 2


    Level 3


    Level 4



•   http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
Joomla! 1.6 ACL




Available Permissions and Levels
        for a Group of Users
Joomla! 1.6 ACL
Action: Edit State
Joomla! 1.6 ACL




ACL Manager
for Joomla! 1.6
 by Sander Potjer
Joomla! 1.6 ACL
ACL Manager for Joomla! 1.6
Joomla! 1.6 ACL
ACL Manager for Joomla! 1.6
Joomla! 1.6 ACL
ACL Manager for Joomla! 1.6
Joomla! 1.6 ACL
ACL Manager for Joomla! 1.6




        www.aclmanager.net
Joomla! 1.6 ACL




Debug Permissions
Joomla! 1.6 ACL
Debug Permissions


• Turn on the ‘Debug System’ in the
  Global Configuration


• Go to ‘User Manager’ or ‘Groups’




• Click on ‘Debug Permission Report’ next to the User
  or User Group
Joomla! 1.6 ACL
Debug Permissions
Joomla! 1.6 ACL
Debug Permissions
• Disadvantage: need to turn ‘Debug System’
Joomla! 1.6 ACL




Plan your ACL implementation
Joomla! 1.6 ACL
Describe the problem
• Most of the website is public available, specific
  content only for a group of users (e.g. teachers &
  students)

• A teacher can see content specifically for teachers, all
  student content and all public content

• Students can see content specifically for students and
  all public content
Joomla! 1.6 ACL
Viewing or action problem?
• Define the problem, is it a viewing problem or action
  problem (create/delete/edit/etc..)? Or both?

• Viewing: define the Viewing Access Levels

• Access: define the permissions for the actions
Joomla! 1.6 ACL
Think ahead! Maintenance?
• Structure your content properly to handle the
  permissions

• Make usage of parent categories with nested
  categories with same permissions

• No need to set permissions per article
Joomla! 1.6 ACL




Some Notes
Joomla! 1.6 ACL
User in multiple groups
• Class 1
 – Allowed on edit ‘Class 1’ category
 – Denied on edit ‘Class 2’ category
• Class 2
 – Allowed on edit ‘Class 2’ category
 – Denied on edit ‘Class 1’ category
• User in Class 1 & Class 2 group
 –   Denied on edit ‘Class 1’ category
 –   Denied on edit ‘Class 1’ category
 –   Denied always win
 –   Solution: don’t use denied (soft deny)
Joomla! 1.6 ACL
What if I locked myself out? :-)
Joomla! 1.6 ACL
What if I locked myself out? :-)
• No need to access your database

• Open your configuration.php and add:
 – public $root_user = 'username';


• You can login again and perform all actions

• Great for playing around with the new ACL

• Don’t forget to remove the $root_user line!
Joomla! 1.6 ACL




Practical ACL Tips
Joomla! 1.6 ACL
ACL Tips


• Write down your ACL requirements for a website
  before implementing

• Joomla 1.5 User Groups are for backward
  compatibility in Joomla 1.6, you may remove them!

• Use multi-nested Groups only if needed / know what
  you are doing
 (so inheriting value only between levels, not groups as well)
Joomla! 1.6 ACL
ACL Tips


• Assign User Group with backend access to a Viewing
  Access Level

• Keep flexible for lower permission levels/groups:
 Avoid the ‘Denied’ permission setting as long as possible

• Idea: Make a Group for each Action so you can assign
  actions directly to a user
Joomla! 1.6 ACL
Resources
• http://www.yireo.com/tutorials/joomla/joomla-administration/402-joomla-16-
  acls-1-marketing-group
• http://community.joomla.org/blogs/community/1252-16-acl.html
• http://docs.joomla.org/ACL_Tutorial_for_Joomla_1.6
• http://docs.joomla.org/Access_Control_System_In_Joomla_1.6
• http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-
  permissions-in-joomla-16.html
• http://www.theartofjoomla.com/home/38-talks/101-the-joomla-16-video-
  access-controls.html
• http://www.aclmanager.net

More Related Content

PDF
Joomla Extensions Directory at JoomlaDay London, UK #jduk11
PDF
Joomla Access Control List (ACL) at JoomlaDay London, UK #jduk11
PDF
Joomla! ACL - Joomla!Day Germany
PDF
Joomla! 1.6 ACL at #jd10uk
PDF
Joomla ACL & ACL Manager @ JUG Breda
PDF
Joomla CCK extensies - JUG Heerenveen, NL
PDF
Enrich your extensions with Joomla! ACL support
PDF
Joomla 1.6 multilingual - 2Value meeting
Joomla Extensions Directory at JoomlaDay London, UK #jduk11
Joomla Access Control List (ACL) at JoomlaDay London, UK #jduk11
Joomla! ACL - Joomla!Day Germany
Joomla! 1.6 ACL at #jd10uk
Joomla ACL & ACL Manager @ JUG Breda
Joomla CCK extensies - JUG Heerenveen, NL
Enrich your extensions with Joomla! ACL support
Joomla 1.6 multilingual - 2Value meeting

What's hot (20)

PDF
Joomla 2.5 ACL @ Dutch Joomla!Days #jd12nl
PPTX
Joomla Workshop.pptx
PDF
Molajo - Joomla based distributions
PDF
Mobile app development
PDF
Template frameworks
PPTX
PDF
WordPress 3.3 Feature Tour
PPTX
Improving Joomla’s Backend User Experience
ODP
Joomla vs. Drupal and Other CMSs
PPT
Synapse india reviews on drupal intro
PDF
Comparing Joomla CCKs
PPTX
Hidden Features in WordPress
PPT
Why is Joomla! better?
PPTX
Fetchnotes pp
PDF
Justin Herrin Comparing Joomla CCKs from jd12ne
PPT
Critical extensions
PPTX
Social website
PDF
Mura CMS Publishing Workflow
PPT
Must-Have Joomla Extensions by Ken Lyle
PDF
The Good, The Bad and The Ugly
Joomla 2.5 ACL @ Dutch Joomla!Days #jd12nl
Joomla Workshop.pptx
Molajo - Joomla based distributions
Mobile app development
Template frameworks
WordPress 3.3 Feature Tour
Improving Joomla’s Backend User Experience
Joomla vs. Drupal and Other CMSs
Synapse india reviews on drupal intro
Comparing Joomla CCKs
Hidden Features in WordPress
Why is Joomla! better?
Fetchnotes pp
Justin Herrin Comparing Joomla CCKs from jd12ne
Critical extensions
Social website
Mura CMS Publishing Workflow
Must-Have Joomla Extensions by Ken Lyle
The Good, The Bad and The Ugly
Ad

Similar to ACL in Joomla 1.6 at #jd11nl (20)

PDF
Joomla 1.6 ACL - J and Beyond 2011 #jab11
PDF
Joomla ACL introduction, limit site access
PDF
Joomla! 1.6 Access Control Proposal
PDF
Lifting The Lid On Joomla 1.6
PDF
Lifting The Lid On Joomla 1.6
PPT
Joomla Presentations
PPT
Joomladay Switzerland - Joomla! 1.5 and roadmap to future versions
PDF
Make your extension more powerful by implementing Joomla ACL - J and Beyond 2014
PPT
Drupal intro-training-in-mumbai
PPTX
Introducing Joomla! CMS
PPT
Drupal intro (1)
PDF
Oracle Enterprise Manager Security A Practitioners Guide
PDF
Web Development with Joomla - Past, Present & Future
PDF
What's new in Joomla 1.6?
PPTX
Alfresco DevCon 2019 Performance Tools of the Trade
KEY
MaharaUK12 - What's new in 1.5 and 1.6?
PPT
Drupal intro
PPT
Drupal intro
PDF
Molajo | Joomla Night Stockholm
PPT
Drupal -Introduction to Drupal
Joomla 1.6 ACL - J and Beyond 2011 #jab11
Joomla ACL introduction, limit site access
Joomla! 1.6 Access Control Proposal
Lifting The Lid On Joomla 1.6
Lifting The Lid On Joomla 1.6
Joomla Presentations
Joomladay Switzerland - Joomla! 1.5 and roadmap to future versions
Make your extension more powerful by implementing Joomla ACL - J and Beyond 2014
Drupal intro-training-in-mumbai
Introducing Joomla! CMS
Drupal intro (1)
Oracle Enterprise Manager Security A Practitioners Guide
Web Development with Joomla - Past, Present & Future
What's new in Joomla 1.6?
Alfresco DevCon 2019 Performance Tools of the Trade
MaharaUK12 - What's new in 1.5 and 1.6?
Drupal intro
Drupal intro
Molajo | Joomla Night Stockholm
Drupal -Introduction to Drupal
Ad

More from Sander Potjer (20)

PDF
Daarom Joomla! - Makkelijk content publiceren
PDF
Daarom Joomla! - Inspiratie uit de praktijk
PDF
Daarom Joomla! - Een fantastische basis
PDF
Performance budget @ Joomla! Performance Expert Sessie
PDF
Technieken & tools @ Joomla! Performance Expert Sessie
PDF
CDN @ Joomla! Performance Expert Sessie
PDF
Proxy caching @ Joomla! Performance Expert Sessie
PDF
Server performance @ Joomla! Performance Expert Sessie
PDF
.htaccess performance @ Joomla! Performance Expert Sessie
PDF
Google AMP @ Joomla! Performance Expert Sessie
PDF
Optimaliseer afbeeldingen @ Joomla! Performance Expert Sessie
PDF
Optimalisatie plugins @ Joomla! Performance Expert Sessie
PDF
Cache handlers @ Joomla! Performance Expert Sessie
PDF
Performance & Joomla! core @ Joomla! Performance Expert Sessie
PDF
Joomla! First - JoomlaDagen 2017 #jd17nl
PDF
Complexe pagina's gebruiksvriendelijk (Joomla Page Builders)
PDF
Performance & SEO - Joomla SEO Expert Sessie
PDF
Social Media & SEO - Joomla SEO Expert Sessie
PDF
Joomla 3.6: nieuwe router - Joomla SEO Expert Sessie
PDF
SEO Audit - Joomla SEO Expert Sessie
Daarom Joomla! - Makkelijk content publiceren
Daarom Joomla! - Inspiratie uit de praktijk
Daarom Joomla! - Een fantastische basis
Performance budget @ Joomla! Performance Expert Sessie
Technieken & tools @ Joomla! Performance Expert Sessie
CDN @ Joomla! Performance Expert Sessie
Proxy caching @ Joomla! Performance Expert Sessie
Server performance @ Joomla! Performance Expert Sessie
.htaccess performance @ Joomla! Performance Expert Sessie
Google AMP @ Joomla! Performance Expert Sessie
Optimaliseer afbeeldingen @ Joomla! Performance Expert Sessie
Optimalisatie plugins @ Joomla! Performance Expert Sessie
Cache handlers @ Joomla! Performance Expert Sessie
Performance & Joomla! core @ Joomla! Performance Expert Sessie
Joomla! First - JoomlaDagen 2017 #jd17nl
Complexe pagina's gebruiksvriendelijk (Joomla Page Builders)
Performance & SEO - Joomla SEO Expert Sessie
Social Media & SEO - Joomla SEO Expert Sessie
Joomla 3.6: nieuwe router - Joomla SEO Expert Sessie
SEO Audit - Joomla SEO Expert Sessie

Recently uploaded (20)

PPTX
OMC Textile Division Presentation 2021.pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Tartificialntelligence_presentation.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PPT
What is a Computer? Input Devices /output devices
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Modernising the Digital Integration Hub
PDF
STKI Israel Market Study 2025 version august
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
OMC Textile Division Presentation 2021.pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Tartificialntelligence_presentation.pptx
Getting Started with Data Integration: FME Form 101
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A novel scalable deep ensemble learning framework for big data classification...
NewMind AI Weekly Chronicles - August'25-Week II
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
WOOl fibre morphology and structure.pdf for textiles
What is a Computer? Input Devices /output devices
cloud_computing_Infrastucture_as_cloud_p
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Modernising the Digital Integration Hub
STKI Israel Market Study 2025 version august
Enhancing emotion recognition model for a student engagement use case through...
Chapter 5: Probability Theory and Statistics
A contest of sentiment analysis: k-nearest neighbor versus neural network
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...

ACL in Joomla 1.6 at #jd11nl

  • 1. Joomla! 1.6 ACL Sander Potjer Sander  Potjer  Webdesign twi$er:  @sanderpotjer web:  www.sanderpotjer.nl
  • 2. Joomla! 1.6 ACL About me • Co-founder of JoomlaCommunity.eu • Organizer Joomla!Days Netherlands • Organizer Joomla! User Groups in The Netherlands • Company: Sander Potjer Webdesign • Yireo/Jira ICT • Student Architecture
  • 4. Joomla! 1.6 ACL It took a while... DrupalCon, October 2005 Johan Janssens • http://www.slideshare.net/JohanJanssens/drupalcon-2005-joomla-drupal-and-you-presentation
  • 5. Joomla! 1.6 ACL ACL?! • ACL = Access Control List • Access to parts of the website – e.g. menu / module visibility – “view” action • User actions on objects – e.g. create / edit / delete article
  • 6. Joomla! 1.6 ACL ACL in Joomla! 1.5 & 1.6 (Access) • 7 fixed Groups • Unlimited Groups – Public, Registered, Author, Editor, – user-defined Publisher, Manager, Administrator – not hierarchical and Super-Administrator – Hierarchical structure • User can be assigned to • User can be assigned to one group multiple groups
  • 7. Joomla! 1.6 ACL ACL in Joomla! 1.5 & 1.6 (Access) • 3 fixed Access Levels • Unlimited Access Levels – Public, Registered and Special – user-defined • Fixed relation between • Any combination of Groups and Access Levels Groups can be assigned to any Access Level
  • 8. Joomla! 1.6 ACL ACL in Joomla! 1.5 & 1.6 (Actions) • Fixed Actions per group – Create / edit / delete / admin access / etc. • Permission scope for entire site – Same permission for all objects • Permission inheritance not applicable • http://brian.teeman.net/joomla-gps/joomla-15-acl-explained.html
  • 9. Joomla! 1.6 ACL ACL in Joomla! 1.5 & 1.6 (Actions) • http://brian.teeman.net/joomla-gps/joomla-15-acl-explained.html
  • 10. Joomla! 1.6 ACL ACL in Joomla! 1.5 & 1.6 (Actions) • Fixed Actions per group • User defined Actions per – Create / edit / delete / group admin access / etc. – Create / edit / delete / admin access / etc. • Permission scope for • Permission scope at entire site multiple levels – Same permission for all objects – Site, Component, Category, Object • Permission inheritance • Permission can be not applicable inherited – from parent Groups and parent Categories
  • 11. Joomla! 1.6 ACL Joomla! 1.6 ACL Overview
  • 12. Joomla! 1.6 ACL Joomla 1.6 ACL Overview • http://community.joomla.org/blogs/community/1252-16-acl.html
  • 13. Joomla! 1.6 ACL Joomla 1.6 ACL Overview • http://community.joomla.org/blogs/community/1252-16-acl.html
  • 14. Joomla! 1.6 ACL Joomla 1.6 ACL: User • Guest is also a user • Users can be assigned to one or several groups
  • 15. Joomla! 1.6 ACL Joomla 1.6 ACL Overview • http://community.joomla.org/blogs/community/1252-16-acl.html
  • 16. Joomla! 1.6 ACL Joomla 1.6 ACL: Permissions • Assigned to group (not to a user!) • 9 Actions – Site Login – Admin Login – Super Admin – Access Component – Create – Delete – Edit – Edit State – Edit Own
  • 17. Joomla! 1.6 ACL Joomla 1.6 ACL Overview • http://community.joomla.org/blogs/community/1252-16-acl.html
  • 18. Joomla! 1.6 ACL Joomla 1.6 ACL: Groups • Users with same permissions • User can be in multiple groups • Inherit permissions from parent groups • Unlimited (sub-)groups • Keep it simple! Only use nested groups if needed
  • 19. Joomla! 1.6 ACL Joomla 1.6 ACL Overview • http://community.joomla.org/blogs/community/1252-16-acl.html
  • 20. Joomla! 1.6 ACL Joomla 1.6 ACL: Access Level • Which group can view what (article, menu, module, etc.) • Permissions are not inherited between Access Levels • Even Super Users can not view content on frontend
  • 21. Joomla! 1.6 ACL Joomla 1.6 ACL Overview • http://community.joomla.org/blogs/community/1252-16-acl.html
  • 23. Joomla! 1.6 ACL How Permissions work • 4 possible permission settings – Not Set – Inherited – Allowed – Denied
  • 24. Joomla! 1.6 ACL How Permissions work • Not set – ‘soft’ deny – can be overridden by ‘Allowed’ or ‘Denied’
  • 25. Joomla! 1.6 ACL How Permissions work • Inherited – value from a parent permission level – value from a parent user group – can be overridden by ‘Allowed’ or ‘Denied’
  • 26. Joomla! 1.6 ACL How Permissions work • Allowed – action for current permission level and lower levels – action for current user group and child groups – can be overridden by ‘Denied’
  • 27. Joomla! 1.6 ACL How Permissions work • Denied – action for current permission level and lower levels – action for current user group and child groups – can’t be overridden at all – always win!
  • 28. Joomla! 1.6 ACL Permission Hierarchy Levels • Level 1: Global configuration – default permissions settings for actions for a group
  • 29. Joomla! 1.6 ACL Permissions: Global Configuration (Level 1)
  • 30. Joomla! 1.6 ACL Permission Hierarchy Levels • Level 1: Global configuration – default permissions settings for actions for a group • Level 2: Component Options – can override the permissions of Level 1
  • 31. Joomla! 1.6 ACL Permissions: Component Options (Level 2)
  • 32. Joomla! 1.6 ACL Permissions: Component Options (Level 2)
  • 33. Joomla! 1.6 ACL Permission Hierarchy Levels • Level 1: Global configuration – default permissions settings for actions for a group • Level 2: Component Options – can override the permissions of Level 1 • Level 3: Category – can override the permissions of Level 1 & Level 2 – available for components with categories (Articles, Banners, etc...)
  • 34. Joomla! 1.6 ACL Permissions: Category (Level 3)
  • 35. Joomla! 1.6 ACL Permissions: Category (Level 3)
  • 36. Joomla! 1.6 ACL Permission Hierarchy Levels • Level 1: Global configuration – default permissions settings for actions for a group • Level 2: Component Options – can override the permissions of Level 1 • Level 3: Category – can override the permissions of Level 1 & Level 2 – available for components with categories (Articles, Banners, etc...) • Level 4: Item – can override the permissions of Level 1 & Level 2 & Level 3 – only available for articles in Joomla 1.6 core
  • 39. Joomla! 1.6 ACL Permission Hierarchy Levels • Level 1: Global configuration – default permissions settings for actions for a group • Level 2: Component Options – can override the permissions of Level 1 • Level 3: Category – can override the permissions of Level 1 & Level 2 – available for components with categories (Articles, Banners, etc...) • Level 4: Item – can override the permissions of Level 1 & Level 2 & Level 3 – only available for articles in Joomla 1.6 core
  • 40. Joomla! 1.6 ACL Permission Hierarchy Levels • Level 1: Global configuration – default permissions settings for actions for a group • Level 2: Component Options – can override the permissions of Level 1 • Level 3: Category – can override the permissions of Level 1 & Level 2 – available for components with categories (Articles, Banners, etc...) • Level 4: Item – can override the permissions of Level 1 & Level 2 & Level 3 – only available for articles in Joomla 1.6 core • Override permissions of higher levels only works if permission setting is not ‘Denied’!
  • 41. Joomla! 1.6 ACL Inheriting example for ‘Create’ action Level 1 Level 2 Level 3 Level 4 • http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
  • 42. Joomla! 1.6 ACL Inheriting example for ‘Create’ action Level 1 Level 2 Level 3 Level 4 • http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
  • 43. Joomla! 1.6 ACL Inheriting example for ‘Create’ action Level 1 Level 2 Level 3 Level 4 • http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
  • 44. Joomla! 1.6 ACL Inheriting example for ‘Create’ action Level 1 Level 2 Level 3 Level 4 • http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
  • 45. Joomla! 1.6 ACL Inheriting example for ‘Create’ action Level 1 Level 2 Level 3 Level 4 • http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new-permissions-in-joomla-16.html
  • 46. Joomla! 1.6 ACL Available Permissions and Levels for a Group of Users
  • 48. Joomla! 1.6 ACL ACL Manager for Joomla! 1.6 by Sander Potjer
  • 49. Joomla! 1.6 ACL ACL Manager for Joomla! 1.6
  • 50. Joomla! 1.6 ACL ACL Manager for Joomla! 1.6
  • 51. Joomla! 1.6 ACL ACL Manager for Joomla! 1.6
  • 52. Joomla! 1.6 ACL ACL Manager for Joomla! 1.6 www.aclmanager.net
  • 53. Joomla! 1.6 ACL Debug Permissions
  • 54. Joomla! 1.6 ACL Debug Permissions • Turn on the ‘Debug System’ in the Global Configuration • Go to ‘User Manager’ or ‘Groups’ • Click on ‘Debug Permission Report’ next to the User or User Group
  • 55. Joomla! 1.6 ACL Debug Permissions
  • 56. Joomla! 1.6 ACL Debug Permissions • Disadvantage: need to turn ‘Debug System’
  • 57. Joomla! 1.6 ACL Plan your ACL implementation
  • 58. Joomla! 1.6 ACL Describe the problem • Most of the website is public available, specific content only for a group of users (e.g. teachers & students) • A teacher can see content specifically for teachers, all student content and all public content • Students can see content specifically for students and all public content
  • 59. Joomla! 1.6 ACL Viewing or action problem? • Define the problem, is it a viewing problem or action problem (create/delete/edit/etc..)? Or both? • Viewing: define the Viewing Access Levels • Access: define the permissions for the actions
  • 60. Joomla! 1.6 ACL Think ahead! Maintenance? • Structure your content properly to handle the permissions • Make usage of parent categories with nested categories with same permissions • No need to set permissions per article
  • 62. Joomla! 1.6 ACL User in multiple groups • Class 1 – Allowed on edit ‘Class 1’ category – Denied on edit ‘Class 2’ category • Class 2 – Allowed on edit ‘Class 2’ category – Denied on edit ‘Class 1’ category • User in Class 1 & Class 2 group – Denied on edit ‘Class 1’ category – Denied on edit ‘Class 1’ category – Denied always win – Solution: don’t use denied (soft deny)
  • 63. Joomla! 1.6 ACL What if I locked myself out? :-)
  • 64. Joomla! 1.6 ACL What if I locked myself out? :-) • No need to access your database • Open your configuration.php and add: – public $root_user = 'username'; • You can login again and perform all actions • Great for playing around with the new ACL • Don’t forget to remove the $root_user line!
  • 66. Joomla! 1.6 ACL ACL Tips • Write down your ACL requirements for a website before implementing • Joomla 1.5 User Groups are for backward compatibility in Joomla 1.6, you may remove them! • Use multi-nested Groups only if needed / know what you are doing (so inheriting value only between levels, not groups as well)
  • 67. Joomla! 1.6 ACL ACL Tips • Assign User Group with backend access to a Viewing Access Level • Keep flexible for lower permission levels/groups: Avoid the ‘Denied’ permission setting as long as possible • Idea: Make a Group for each Action so you can assign actions directly to a user
  • 68. Joomla! 1.6 ACL Resources • http://www.yireo.com/tutorials/joomla/joomla-administration/402-joomla-16- acls-1-marketing-group • http://community.joomla.org/blogs/community/1252-16-acl.html • http://docs.joomla.org/ACL_Tutorial_for_Joomla_1.6 • http://docs.joomla.org/Access_Control_System_In_Joomla_1.6 • http://www.theartofjoomla.com/home/5-commentary/84-introducing-the-new- permissions-in-joomla-16.html • http://www.theartofjoomla.com/home/38-talks/101-the-joomla-16-video- access-controls.html • http://www.aclmanager.net

Editor's Notes