feedhenry / fh-fhc

FeedHenry CLI, the Command Line Interface to FeedHenry
Other
26 stars 66 forks source link

FH-3748 - Change the cmd fhc policies to follow the V3 standard and a… #380

Closed camilamacedo86 closed 7 years ago

camilamacedo86 commented 7 years ago

JIRA: https://issues.jboss.org/browse/FH-3748

Following the local changes

Steps to verify

Following the local tests

screen shot 2017-07-11 at 4 57 40 pm screen shot 2017-07-11 at 5 21 00 pm screen shot 2017-07-11 at 5 21 38 pm screen shot 2017-07-11 at 5 23 47 pm
Camilas-MacBook-Pro:fh-fhc cmacedo$ ./bin/fhc.js admin policies delete h5d7wp24gy5o4t6if7awkhyh
Auth Policy deleted successfully
Camilas-MacBook-Pro:fh-fhc cmacedo$ 
screen shot 2017-07-11 at 5 49 25 pm
Camilas-MacBook-Pro:fh-fhc cmacedo$ ./bin/fhc.js admin policies users add rvcvdinhdmi463rgwzxq3pj4 camilamacedo86@gmail.com
User added into Auth Policy successfully
Camilas-MacBook-Pro:fh-fhc cmacedo$ ./bin/fhc.js admin policies users add rvcvdinhdmi463rgwzxq3pj4 camilamacedo86@gmail.com --json
{
  "status": "ok"
}
Camilas-MacBook-Pro:fh-fhc cmacedo$ 
Camilas-MacBook-Pro:fh-fhc cmacedo$ ./bin/fhc.js admin policies users delete rvcvdinhdmi463rgwzxq3pj4 camilamacedo86@gmail.com 
User deleted into Auth Policy successfully
Camilas-MacBook-Pro:fh-fhc cmacedo$ 
screen shot 2017-07-11 at 6 53 00 pm