Re: Question on access levels for blocks
| Newsgroups | gmane.comp.cms.xaraya.devel |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
mikespub wrote: > At the moment you can only specify one group per access level. So how do > you specify that e.g. site managers + administrators can modify a block? > > This would imply that: > - either we need to specify that all admins also belong to site > managers (which changes how groups are used), > - or that we should be able to specify several groups per access level > - or perhaps vice-versa, to specify several access levels per group. > > Either way, I seem to be missing something here ;-) > > Mike. Oh you're not missing anything, you're raising a valid point. When I designed the group access thing I made a vague assumption that if one wanted more than 1 group one could create a common ancestor group, That's why the code contains an isAncestor rather than an isParent call. But perhaps you are right: if we add ancestors for such a purpose we load up the roles tree visually, whereas if we allow more than one group to be chosen in the UI, the choices get hidden away from sight wherever it is we store the mask data. Feel free to modify:) Marc