Re: permission matrix plugin
Hannes Gassert <[email protected]> Mon, 10 Dec 2007 16:06:54 +0100
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Liip AG |
| Message-ID | <[email protected]> |
Spring Pierre wrote:
> first i'd like to thank you for your answers. they quite helped me in
> finding a clear path for the next days ;)
Great - can you tell us about your roadmap in a few words?
> when writing permissions concerning dbforms to the DB,
> the "permission matrix plugin" sets the collection path of the
> permission triplet [1] to /dbforms2/, as follows:
>
> // dbforms2 permissions are global
> // and not url bound
> if($plugin =3D=3D 'admin_dbforms2') {
> $localUrl =3D '/dbforms2/';
> }
Well, indeed database entities (or "Dbforms2") do live in a different
universe than the collections.Connecting them to the permission system
through a predefined collection URI makes sense to me. Problems might
arise later when you might want to try defining permissions for specific
forms/entities, but let's talk later about later, right? :)
> the problem with that is obvious: you can not edit this permissions
> based on the collection path. but the UI will be based on the
> collection path...
As said, I don't think this is a huge problem. If the collections have a
display-name you'll use that anyway, so if there's a thing called "DB
Forms" to which you can assign permissions all's fine, no?
> if you take the blog example, you have admin_dbforms2-back-
> blogcomments
I can't currently grasp the problem you're having.. is this a standard
case you name above?
> permissions behave as the logical OR.
> and this makes sense to me.
+1.
> > Question here: what happens when I rename/move some collection? Do the
> > permissions reflect that change automatically?
>
>
> this has been thought of. it is not implemented yet. but it shouldn't =
> be too much of a problem.
Great :)
Sending kind regards,
Hannes
-- =
Liip AG // Agile Web Development // T +41 44 240 56 70
Sch=F6neggstrasse 5 // CH 8004 Z=FCrich // GPG 0x9EA04604
-- =
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms