Thanks for the detailed explanation Philipp, that worked beautifully.
It did take a little trial and error though. At first I didn't give
read/write access to '/' for Website and Config. Everything gets hosed
when you don't do this. Hmm.... that's a big change from 2.0 and not
very intuitive at all. I liked it better when everyone could see the
Website automatically and user accounts had checkboxes giving them the
ability to manage users, roles, and config settings. I understand the
elegance and flexibility of making these determinations at the role
level, but it seems that checkboxes could have been moved over to roles,
making the configuration more intuitive.
-KG
Philipp Bracher wrote:
I'll have more questions in the coming weeks, but for now I'd like to
know how to secure custom AdminInterface menu buttons.
Give the role read access to the menupoint (to the node you defined in
the config) or deny it if this role should not see the button.
I love how easy magnolia 2.1 makes it to add a buttons to the
admininterface (add a node in Config and then refresh and get the change
immediately). Huge improvement over 2.0. Kudos! I was really hoping
that when I went to setup a role that I would be able to restrict
visibility of this button just like I can with the other 4 (website,
users, roles, config).
Do it in the config (see the the editor role as an example)
It turns out that the drop-down list for the roles ACL is static
rather than dynamic. How can I extend this list? Ideally I would
like for it to be dynamic, but I will settle for being able to
manually edit the list.
The dropdown contains a list of the repositories. Since you store the
most of the data in one of this repositories this should do the job.
If you add a new repository you would get a new entry in the dropdown
too. But you are right in future version we must think about a more
straight forward user interface.
Philipp Bracher
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
--
Kyle Gabhart
Program Engineer
L-3 Communications
Link Simulation and Training
phone: 817.619.3661
mobile: 817.300.8798
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------