Answer the question
In order to leave comments, you need to log in
How to organize access control in Yii?
Hello! My users are stored in the following table:
CREATE TABLE IF NOT EXISTS `users` (
`id` int(255) NOT NULL AUTO_INCREMENT,
`nick` varchar(50) NOT NULL,
`mail` varchar(255) NOT NULL,
`fName` varchar(255) DEFAULT NULL,
`mName` varchar(255) DEFAULT NULL,
`lName` varchar(255) DEFAULT NULL,
`salt` varchar(255) NOT NULL,
`pwd` varchar(255) NOT NULL,
`group` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question