[EMAIL PROTECTED] wrote:
> Hi Michiel,

Eh, well, hi.

> I just started using the CloudContext security. I looks great. Still I haven't
>  find out yet all the details. Also I have one question.
> User/groups have permission for a certain context. So, does this mean that I
> should relate nodes (e.g. of type news) to a certain context, so a user has or
> has no access to change, remove or create it?


No, the name of the context must correspond to the 'owner' field of the
object. It is perhaps a bit silly, but for all situations I know there is a
1-1 relationship between 'owner' and 'security context'.

See also http://www.mmbase.org/mmdocs/glossary.html#context

If you want to have an actual field containing the identifier of the user
who created or changed the node, then that could be arranged by new fields
on object or e.g. a 'content' base type. In MMBase 1.8 there will be a field
specialization 'lastmodified' for this.

Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to