ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008
-
Upload
wilco-jansen -
Category
Technology
-
view
5.169 -
download
0
description
Transcript of ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008
![Page 1: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/1.jpg)
26.03.08
Access Control Lists & Joomla 1.6-
An Intimate Encounter With The Beast
![Page 3: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/3.jpg)
26.03.08
Joomla! User & Access Management
Why does Joomla need a new access management?
Current Situation:•7 fixed groups•A bit random group IDs•3 different ways for access checks•No way to restrict two groups to different content
![Page 4: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/4.jpg)
26.03.08
Joomla! User & Access Management
What do we try to achieve?•Infinite groups•Adjustable rights•Content is taken into the equation•Connection to existing user control systems
![Page 5: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/5.jpg)
26.03.08
Joomla! User & Access Management
By what means do we achieve this goal?➔Access Control Lists!
![Page 6: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/6.jpg)
26.03.08
Joomla! User & Access Management
What are these ominous Access Control Lists? (ACL)•ARO (user), ACO (action), AXO (content), ACL (rule)•like a language with simple, fixed grammar•subject, predicate, object (optional)•User and content groups
![Page 7: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/7.jpg)
26.03.08
Joomla! User & Access Management
Implementation in Joomla!•phpGACL class•Usermanager•Access Manager (Global and component specific)•Content Access Management
![Page 8: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/8.jpg)
26.03.08
Joomla! User & Access Management
phpGACL or JACL?•Generic ACL class by Mike Benoit in PHP•Class to manage access rights•JACL: exchangeable?•Framework class to wrap phpGACL•Plugin driven
![Page 9: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/9.jpg)
26.03.08
Joomla! User & Access Management
Usermanager: Users and Groups•Allows to assign users to several groups•Users and Groups in one screen•Treestructure•Additional group: Unassigned
![Page 10: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/10.jpg)
26.03.08
Joomla! User & Access Management
Global Access Manager•Allows to create simple 2 dimensional rules for global access rights
Component Access Manager•Allows to create 2 and 3 dimensional rules for the specific component•Driven by an XML file•Similar to com_config
![Page 11: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/11.jpg)
26.03.08
Joomla! User & Access Management
Content Access Management•Allows to assign content to access roles•Integrated in the edit screen of the content object•HTML snippets both for content groups and content objects
![Page 12: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/12.jpg)
26.03.08
Joomla! User & Access Management
Problems•phpGACL in its current form is very slow•Design of the UI of the Access Manager•Overall performance•Upgrading/Migration from 1.5 to 1.6
![Page 13: ACL presentation Hannes Pappenberg on Dutch Joomla!day 5 April 2008](https://reader036.fdocuments.in/reader036/viewer/2022081821/5487493cb4af9f820d8b53c3/html5/thumbnails/13.jpg)
26.03.08
Joomla! User & Access Management
Questions?