Yes. That was it. If so common do you think of "implementing" an error message such as "tables not found ensure that is right…etc" or try to locate the tables name case-insensitive.
Secondly, i was wondering if the User id is a string instead of a int will result in problems. I saw in database and everythiong was fine.
Now when i go to /index.php?r=srbac/authitem/assignments and select a user that i have assigned some roles i get nothing.
I was wondering how will it be to choose roles at the time you create a user while you use srbac.
We assume that the user has User management ( to be able to create user ) and ‘Authorizer’ ( to be able to assign role to user )roles.
For someone how wants to use the srbac it would be nice to be able to add a role to a user at the time he create the user ( with a drop down list to select from existing roles for example )
User sis from irc #yii prompt me to study how srbac do that and call ( i may say "play" ) with the same method within some of after/before Save/Update methods.
So here i am.
I will check t, but it will be wonderful if you can point me to key points.
I was wondering how will it be to choose roles at the time you create a user while you use srbac.
We assume that the user has User management ( to be able to create user ) and ‘Authorizer’ ( to be able to assign role to user )roles.
For someone how wants to use the srbac it would be nice to be able to add a role to a user at the time he create the user ( with a drop down list to select from existing roles for example )
User sis from irc #yii prompt me to study how srbac do that and call ( i may say "play" ) with the same method within some of after/before Save/Update methods.
So here i am.
I will check t, but it will be wonderful if you can point me to key points.
1.Changed always allowed.Now the gui is always enabled and its’ array is merged with the one defined by alwaysAllowed attribute (which can be a string, array or file)
2.Added hungarian translation
3.Show always allowed actions in users assignments (fixes issue 53)
4.If checking db fails , check for lower-upper case issues and display a message(fixes issue 56)
5.Show message when exception occurs during install (fixes issue 54)
6.Fixed always allowed tab view beeing too short when there are not many controllers (fixes issue 50)
7.Added button to check for authItems not belonging to existing controllers (due to controller deletion etc) then select which authItems to delete.
Is there a simple demo app that is integrated with srbac? For some reason I just don’t understand the way yii/srbac handles security, and the ability to download and tear apart an existing functional app would be tremendously helpful. Possibly modifying the blog demo to use srbac might be the best option.
I’ll add a demo example along with the srbac final 1.1.1 release.
I don’t know if there’s a blog demo download. If there is you can download it, install srbac , change the controllers so they extend SBaseController and you’re ready to go