two questions around adding dynamic rules (in CActiveRecord) and Dynamic Access Control List
how to implement ?
This may help you: http://www.yiiframework.com/forum/index.php?/topic/12719-dynamic-rulesvalidators/page__p__62275__hl__dynamic+rule+#entry62275