Automatically created users cannot be deleted
i'm using leap_cli:develop and leap_platform:develop to set up a single mx node, without any further provider modifications. leap test creates a user, but cannot delete it:
--- leap-platform-staging/config ‹staging› » leap_develop test = [staging.dev.wazokazi.is] PASS: Network > Can connect to internet? = [staging.dev.wazokazi.is] PASS: Network > Is stunnel running? = [staging.dev.wazokazi.is] PASS: Network > Is shorewall running? = [staging.dev.wazokazi.is] PASS: CouchDB > Are daemons running? = [staging.dev.wazokazi.is] PASS: CouchDB > Is CouchDB running? = [staging.dev.wazokazi.is] PASS: CouchDB > Is cluster membership ok? = [staging.dev.wazokazi.is] PASS: CouchDB > Are configured nodes online? = [staging.dev.wazokazi.is] PASS: CouchDB > Do ACL users exist? = [staging.dev.wazokazi.is] PASS: CouchDB > Do required databases exist? = [staging.dev.wazokazi.is] PASS: CouchDB > Can records be created? = [staging.dev.wazokazi.is] PASS: Mx > Can contact couchdb? = [staging.dev.wazokazi.is] PASS: Mx > Can contact couchdb via haproxy? = [staging.dev.wazokazi.is] PASS: Mx > Are MX daemons running? = [staging.dev.wazokazi.is] PASS: Webapp > Can contact couchdb? = [staging.dev.wazokazi.is] PASS: Webapp > Can contact couchdb via haproxy? = [staging.dev.wazokazi.is] PASS: Webapp > Are daemons running? = [staging.dev.wazokazi.is] PASS: Webapp > Can access webapp? = [staging.dev.wazokazi.is] PASS: Webapp > Can create user? = [staging.dev.wazokazi.is] PASS: Webapp > Can authenticate? = [staging.dev.wazokazi.is] SKIP: Webapp > Can delete user? [webapp.rb:94]: = [staging.dev.wazokazi.is] It appears the web api is too old to support deleting users = [staging.dev.wazokazi.is] 20 tests: 19 passes, 1 skips, 0 warnings, 0 failures, 0 errors
It's because by default the master branch of leap_web is checked out. Shouldn't we configure the webapp to use develop branch, if leap_platform:develop and/or leap_cli:develop is used ? What do we do at release ? Is there a leap_web release coming up ?
(from redmine: created on 2014-11-24, closed on 2014-11-24, relates #5238 (closed), relates #6311)