Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Migration Script #5

Open
claytondaley opened this issue Jan 26, 2015 · 0 comments
Open

Create Migration Script #5

claytondaley opened this issue Jan 26, 2015 · 0 comments

Comments

@claytondaley
Copy link
Owner

This migration script assumes the user has already renamed \config\autoload\dam4.local.php.dist to dam4.local.php and configured top 6 values (db and email info).

Must:

  • Extend password column in database to 128 (to support ZfcUser passwords)
  • Add "user" to the list of permissions for all Usergroups (i.e. roles) that permit the user to login
  • Ensure a guest usergroup exists to match ZfcRbac default role
    • If a guest role doesn't exist, create one using id = -1 and name = 'guest'
    • Add the 'guest' permission to the permissions comma-separated-list

One of the following:

  • Create the password reset table (for GoalioForgotPassword)
  • Migrate (or reset) all passwords

Optionally:

  • Use the RS config patch out of LegacyRS to control RS settings using ZF2 config files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant