stripes-connect version of create user-with-creds-and-perms

Description

Use case: given a new user object, POST the object to create the user and generate user UUID and then POST and object to create creds and perms for that user to endpoints addressed by UUID

Note: this is currently implemented using straight up fetch, what is the stripes-connect version of this?

Environment

None

Potential Workaround

None

is blocked by

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Michal Kuklis November 2, 2017 at 3:02 AM

The code has been refactored and is now using mutators from stripes-connect. While working on this I discovered another issue related to side effects (STCON-46) which should be also now addressed.

Jakub Skoczen September 8, 2017 at 1:30 PM

Pseudo-code version of using mutators-with-promises (from Mike):

this.props.mutators.users.POST(user).then(res => creds.POST(res.id, creds)).then(res => perms.POST(res.id, perms));
Done

Details

Assignee

Reporter

Labels

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 8, 2017 at 1:27 PM
Updated November 2, 2017 at 1:04 PM
Resolved November 2, 2017 at 1:04 PM
TestRail: Cases
TestRail: Runs

Flag notifications