/
Remove User
Remove User
Do the following steps to remove a user (set his account to 'inactive')
1. Open User Database
- Connect to the host via ssh; make sure your ssh client has port-forwarding enabled from a local port of your choice to the exposed port of the cordatastore container.
- Lets say your local port is 5985; within your local browser open http://localhost:5985/_utils
- Login as admin and switch to the
_users
database.
2. Edit User Document
Do not remove a document from the _users
database. This may lead to inconsistencies as other documents may refer to this.
Find the document representing the users account, modify it the following way and save the document:
Find the users document ...
{ "_id": "org.couchdb.user:1", "name": "1", "displayName": "User 1", "email": "user1@cubbles.world", "logins": { "local": { "login": "user1" } }, ... }
Add a property "inactive": true
to the users document ...
{ "_id": "org.couchdb.user:1", "name": "1", "displayName": "User 1", "email": "user1@cubbles.world", "logins": { "local": { "login": "user1" } }, "inactive": true, ... }
Related content
Create User
Create User
More like this
Grant Upload Permissions
Grant Upload Permissions
More like this
Account Check
Account Check
More like this
Password Change
Password Change
More like this
2 Modifying a compound component's layout
2 Modifying a compound component's layout
More like this