[development] weight for roles

ufuk bayburt ufukbay at gmail.com
Thu Jun 7 15:41:53 UTC 2007


It would matter when a user has multiple roles and those roles has
permissions for quantitative values such as max image dimensions, file
upload quota,(upload module), profile assignment(tinymce) etc. I
maintain 2 modules both requires role weights. And there are many
modules around there using roleweights module. It's not a big deal to
self-implement this for a module but i wonder if there is any
discussion on including this in core.

On the other hand it may allow to define a user role that is degraded
form of authenticated user, say restricted user. AFAIK, this is not
possible with the current role system as it combines the permissions
of any member role with the authenticated user role. Of course there
are ways to achieve this.
Anyway, this was not my point.
In this topic http://drupal.org/node/68970
moshe says "this is a dupe, but i can't find the original. most people
agreed that role weights are needed."
does anybody know where the original post is?

On 6/7/07, Earnie Boyd <earnie at users.sourceforge.net> wrote:
> Quoting ufuk bayburt <ufukbay at gmail.com>:
>
> > is there an ongoing discussion or progress on role weights in core?
> >
>
> How would applying a weight to roles matter?  The user access is the
> combination of all roles given to the user.
>
> Earnie
>


More information about the development mailing list