Hello,
I've taken over a project from another development team and the initial team used CPhpAuthManager. This works well but the project I'm working on involves many users signing up for the site and this puts auth.php in a constant state of flux, which doesn't work well with the process in place for svn deployment.
So I have two questions
1) The easy way out is to ask how others have managed the auth.php file with regards to deployment between dev, qa and prod environments
or
2) Is there a path for changing from CPhpAuthManager to CDbAuthManager? Since the site hasn't launched yet I do have the flexibility of not needing to worry about a conversion per se but if that exists it would be nice.
Thank you,
Dan
Page 1 of 1
Convert Cphpauthmanager To Cdbauthmanager
#2
Posted 28 November 2012 - 03:58 PM
Are you using some RBAC Manager? or RBAC purely?
Whatever the answer is, I think a "yii-migration" is needed or a command for that purpose where you iterate each authItem and authAssignment and you move it . I'm not sure that "quick way" or workaround exists.
Whatever the answer is, I think a "yii-migration" is needed or a command for that purpose where you iterate each authItem and authAssignment and you move it . I'm not sure that "quick way" or workaround exists.
Rick
Support me on Patreon: https://www.patreon.com/yiiframework
Promover Yii Framework en Español en Patreon: https://www.patreon....yiiframework_es
YiiFramework en Español: http://yiiframework.es/ - Canal de YouTube - Facebook
Follow me: @robregonm.
Support me on Patreon: https://www.patreon.com/yiiframework
Promover Yii Framework en Español en Patreon: https://www.patreon....yiiframework_es
YiiFramework en Español: http://yiiframework.es/ - Canal de YouTube - Facebook
Follow me: @robregonm.
#3
Posted 04 January 2013 - 11:22 AM
robregonm, on 28 November 2012 - 03:58 PM, said:
Are you using some RBAC Manager? or RBAC purely?
Whatever the answer is, I think a "yii-migration" is needed or a command for that purpose where you iterate each authItem and authAssignment and you move it . I'm not sure that "quick way" or workaround exists.
Whatever the answer is, I think a "yii-migration" is needed or a command for that purpose where you iterate each authItem and authAssignment and you move it . I'm not sure that "quick way" or workaround exists.
I believe just RBAC purely.
Share this topic:
Page 1 of 1