0013414: update scripts should work without dedicated setupuser #6635

Closed
Gloirin opened this Issue Jun 9, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@Gloirin

Gloirin commented Jun 9, 2018

Reported by pschuele on 5 Sep 2017 12:40

update scripts should work without dedicated setupuser

setupuser might not be created (for example with ldap readonly backend) or the default admin group might have no rights for all apps

  • for example Tinebase 10.16 -> 10.17 (node acl)
  • setup tests: in installing from dump: after restoring db, but before
    executing the updates, strip the setup user of all its rights
  • before running updates: create a superUser role (turn off modlog and
    replication), assign setup user to superUser role, run update, cleanup
  • check action queue is empty and wait for it to finish
  • before running updates: set action queue to direct backend
@Gloirin

This comment has been minimized.

Show comment
Hide comment
@Gloirin

Gloirin Jun 11, 2018

Comment posted by pschuele on 7 Sep 2017 13:14

http://gerrit.tine20.com/customers/#/c/5593/

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 7 Sep 2017 13:14

http://gerrit.tine20.com/customers/#/c/5593/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment