Closed GoogleCodeExporter closed 9 years ago
small followup: I investigated more, and found a way to get it working. In my
UserIdentity I had to override the default implementation of getId. I now have
something like
public function getId()
{
return User::model()->findByAttributes(array('username' => $this->username))->id;
}
there and ich works. The default doesn't return the ID but the name. Rights
somehow expects the id. Which also makes more sense. I don't know if only I
have this problem, but maybe it helps somebody else.
Original comment by tobiasbi...@gmail.com
on 3 Mar 2011 at 1:24
Hello Tobias,
Sounds very weird. You should not need to do any workarounds but one thing that
pops into my mind is that there is a problem with your WebUser/UserIdentity.
Could you please compare your classes with those found in the Blog example with
Rights integrated?
Please report back with the result.
Original comment by Christof...@gmail.com
on 12 Mar 2011 at 11:53
[deleted comment]
Closing this as invalid because I haven't received a reply to my request.
Original comment by Christof...@gmail.com
on 31 Mar 2011 at 9:15
Original issue reported on code.google.com by
tobiasbi...@gmail.com
on 2 Mar 2011 at 9:23