Skip to content

Commit

Permalink
Add shelf of user on parent (fixes #1036) (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmmrssa authored and paulbert committed May 22, 2018
1 parent bd84671 commit d72295e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/configuration/configuration.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ export class ConfigurationComponent implements OnInit {
userDetail['isUserAdmin'] = false;
return this.couchService.put('_users/org.couchdb.user:' + adminName,
{ ...userDetail, name: adminName }, { domain: configuration.parentDomain });
}), switchMap(data => {
return this.couchService.put('shelf/org.couchdb.user:' + adminName, { }, { domain: configuration.parentDomain });
}), switchMap(data => {
const requestNotification = {
'user': 'SYSTEM',
Expand Down

0 comments on commit d72295e

Please sign in to comment.