[development] Deleting Cached Permissions - Why not?

Ron Parker sysop at scbbs.com
Tue Aug 28 03:45:41 UTC 2007

OK, I understand that Drupal doesn't support changing user roles on the fly.  Technically, OG User Roles does not change any sitewide roles; it only adds roles based upon the group that an individual node belongs to.  But, I won't quibble with details.

What I don't understand is why my request to add the ability to reset the user_access() permissions cache was rejected. http://drupal.org/node/170524

The requested code addition does not alter existing permissions in any way.  It simply provides a method whereby one can send a command to user_access() to reset the static variable.  Can someone tell me why this is not a reasonable thing to be able to do?  



Message: 2
Date: Sat, 25 Aug 2007 10:52:43 +0200
From: Gerhard Killesreiter <gerhard at killesreiter.de>
Subject: Re: [development] Deleting Cached Permissions
To: development at drupal.org

David Metzler schrieb:

>> The permissions (user roles) are being altered temporarily.  The reasons
>> are documented in the issue Ron has referenced.

I've said it once and I say it again since apparently nobody noticed:

Temporarily changing user roles (per page request) is (currently)
unsupported by Drupal.

I'd even argue that it shouldn't be supported and that what Ron is doing
should be achieved in another way.


Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20070827/cf55ef4c/attachment.htm 

More information about the development mailing list