I’m having a bear of a time with the CheckAccess. It returns false, no matter what, every time. I can’t understand why. If i put in my ProjectController, accessRules
public function accessRules()
array('allow', // allow only authenticated users to perform 'index' and 'view' actions
array('allow', // allow admin user to perform 'admin' and 'delete' actions
an owner can’t access admin, delete, etc. If I change that to ‘@’, then any authenticated user can perform admin and delete, but STILL are restricted from the adduser action. What’s goin’ on? I’m really stuck on this, I can’t figure out how it fits together. Relying on checkAccess is impossible, it’s always false and throws no errors. So no matter who is logged in, they can never see the Add User link on the Project page.
OK turns out there’s some insufficient/incorrect data in my database, specifically in the ‘authassignment’ table. Seems it hasn’t been populated properly, so I’m gonna have to work on that a little. Manually entering some things has gotten it sorta working. I think I’m starting to catch on a little.
I feel bad I’ve twice cluttered this board. is there a a delete thread button? I can’t find it.