Closed (fixed)
Project:
Permissions API
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 May 2009 at 03:59 UTC
Updated:
10 Jun 2009 at 11:50 UTC
there were two problems with permissions_revoke_permissions() here's a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| permissions_api.patch | 7.89 KB | twistor |
Comments
Comment #1
ebeyrent commentedThank you for the bug report - these issues were fixed already in v2.2 and 2.3 of the module. Please download the latest stable release of the module and let me know if you encounter any issues!
Comment #2
twistor commentedOk , so I downloaded 2.3 and I still have a problem:
If you try to revoke permissions for a role and $new_permissions is all of the permissions for that role it revokes all but one.
Also, it seems that cvs is out of date.
Comment #3
twistor commentedComment #4
ebeyrent commentedYou're absolutely correct - good catch. I made the change that you documented in the permissions_revoke_permissions() function as well as the permissions_revoke_all_permissions_by_module() function.
Comment #5
ebeyrent commentedComment #6
ebeyrent commented