Hello,
I am looking at the RBAC topics and already read those two
Authentication and Authorization
Getting to Understand Hierarchical RBAC Scheme
and currently looking at the /framework/web/auth/schema-mysql.sql.
Suggest that I have a table that holds regestered users (like that):
CREATE TABLE users (
id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
email VARCHAR(255) NOT NULL ,
passwrd VARCHAR(256) NOT NULL ,
etc TEXT NOT NULL ,
PRIMARY KEY(id))
TYPE=InnoDB;
Now, what I can’t figure out…
How to assign my users by id to auth?
`userid` varchar(64) not null,
what is userid and how do I create it from my data?
Any other information about RBAC in Yii and how to list all permissions and so on.