I am looking to establish three roles for my application
-Owner : Different self registration page then “customers”
-Employee : Can be created by an “owner”
-Customer : Can self register and should be auto assigned this role
I cannot figure this out from the docs (which seem way out of sync then the current version BTW). I think that this must be done in the Business Logic, but
- how do I distinguish between the three “registration” events from above and still have it “secure”
- how do I assign a role in the JS Business Logic (JS Business Logic does not seem to be documented anywhere)