Re: Some privilege Qn

[email protected] (Banzai) Thu, 2 Oct 2003 23:02:26 +0000 (UTC)
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not organized
Message-ID <[email protected]>
mikespub wrote:

> The name of the privilege levels is only an indication of what they might
> be used for. Each individual module will then decide for itself what e.g.
> ACCESS_COMMENT means for it.

> For instance, the articles module uses :
> ACCESS_OVERVIEW to see the title/summary of articles
> ACCESS_READ to display individual articles
> ACCESS_COMMENT to submit articles
> ACCESS_EDIT to edit/approve articles
> ACCESS_DELETE to delete articles, and
> ACCESS_ADMIN to define pubtypes etc.

> It does not use ACCESS_MODERATE or ACCESS_ADD, because
> the first doesn't really have a meaning in this context, and the second
> is *higher* than ACCESS_EDIT, and we already want people to submit
> articles with access *lower* than that, i.e. with ACCESS_COMMENT.

> That's for the articles module - you'll see in the privileges wizard that
> it "translates" some of those levels to something more understandable
> in the interface.

> Now every other module will have the same kind of decisions to make
> for itself. It's *not* so that ACCESS_COMMENT in a module influences
> the access rights to e.g. the hooked comments module - you need to
> define those in the comments module itself.
> (and the same for any other hooked module)

> Mike.

THANKS for the explaination. Its clearer now. 

No wonder I was having problems when setting ADD_ACCESS privileges on
articles to allow Users to submit article, and my Xaraya site kept going
into loops ( maximum time exceed ... ). 

Banzai