| Database Design Find articles on variouse database design topics |
|
||||||
![]() |
|
|
LinkBack (27) | Thread Tools | Search this Thread |
Rating:
|
|
|||
|
Hi Ben,
I'm a developer of eGroupWare and currently searching for a new permission framework. I found, that typo3 is also searching: * http://wiki.typo3.org/index.php/Enhanced_Rights_Management eZ Components is working on authorization right now, but will also work on permissions soon. It would be great, if we could manage to establish one standard PHP permission framework. Maybe based on your work? May I have a look at your work? |
|
|||
|
There was a similar problem a few weeks ago. It should now be fixed. Please let me know if you still have a problem opening up the file.
|
|
|||
|
Just a quick note regarding the schema.
On mysql 5.0.37 the last constraint could not be created. You get this error: Code:
mysql> ALTER TABLE rbac_users_has_roles ADD CONSTRAINT fk_users_has_roles_roles FOREIGN KEY (roles_id) REFERENCES rbac_roles (id); ERROR 1005 (HY000): Can't create table './irie/#sql-4d0_86.frm' (errno: 150) Code:
mysql> SHOW INNODB STATUS; ------------------------ LATEST FOREIGN KEY ERROR ------------------------ 070513 11:51:55 Error in foreign key constraint of table irie/#sql-4d0_86: FOREIGN KEY (roles_id) REFERENCES rbac_roles (id): Cannot find an index in the referenced table where the referenced columns appear as the first columns, or column types in the table and the referenced table do not match for constraint. Note that the internal storage type of ENUM and SET changed in tables created with >= InnoDB-4.1.12, and such columns in old tables cannot be referenced by such columns in new tables. See http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html for correct foreign key definition. To fix this I removed the unsigned from rbac_users_has_roles(roles_id) Code:
mysql> alter table rbac_users_has_roles change roles_id roles_id int(11) NOT NULL; |
|
|||
|
I have just uploaded the RBAC admin files to the server. You should be able to download the files from the 1st post on this thread. If there are any issues please send me a PM.
Cheers, Ben |
|
|||
|
Thanks to Logan, the guys over at Purdue University have integrated the RBAC into their MyEPICS framework. You can find out the details by clicking on the following links:
SourceForge.net: MyEPICS 2.0 https://ims.ecn.purdue.edu/forum/viewtopic.php?t=20 https://ims.ecn.purdue.edu/wiki/RBAC Let us know if you have successfully integrated RBAC into your framework as well. |
|
|||
|
Quote:
Is the admin panel now in the zip? |
|
|||
|
Yes. There are two zip files. One just contains the RBAC classes the other contains the RBAC classes + all the admin panel files. (You can tell by looking at the sizes.)
|
![]() |
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|