Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Wiki
Follow @yiiframework
Articles tagged with "allow"
X
341
Displaying 1-1 of 1 result(s).
Simple access control
Created 11 months ago by
szfjozsef
–
Tutorials
–
4 comments
– viewed 14,146 times – (
+2
/
-6
)
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.
tags:
simple
,
access
,
control
,
accessControl
,
accessRules
,
allow
,
deny
,
user
,
users
Write new article
Search Wiki
Sorted by date
Sorted by date (updated)
Sorted by rating
Sorted by comments
Sorted by views
All categories
Tips
(107)
How-tos
(188)
Tutorials
(177)
FAQs
(7)
Others
(14)
Popular Tags
AJAX
(26)
Authentication
(18)
CGridView
(40)
File upload
(10)
Forms
(8)
Logging
(9)
URL
(9)
Widgets
(11)
active record
(11)
config
(12)
database
(13)
filter
(10)
i18n
(15)
rbac
(8)
search
(9)
security
(18)
tutorial
(22)
understanding
(11)
views
(10)
yii
(24)
Recent comments
Leandro Tec Can
on
Integrating FirePHP
Stageline
on
Store session in database
redguy
on
Store session in database
JFReyes
on
Using CListView to display items next to each...
ruderbytes
on
How to Setting Layouts in Yii