angularjs - Dreamfactory User Management for Apps with different user roles and permissions? -
i developing app requires user management different roles different views on data stored in ms sql server db. use dreamfactory provide rest api data. store user data in same db other data.
dreamfactory provides user management , love use since building own seems tough task, cannot seem grasp of how working...
* how can use dreamfactory user management store user data in own db (and not db built in dsp)?
* how can restrict access parts of data accessible in ms sql server db api (since users allowed see parts of db)?
* can set user roles specific apps, dreamfactory suitable managing (possibly hundreds of) users of several apps (each of them maybe having several user roles)? have experience that?
reading doc didn't me , neither did tutorial user management dreamfactory tutorial 1
would appreciate intel on topic in general.
the dreamfactory user system has user rest api can store users in own database if need to. however, need store users in dreamfactory if you're using control security (the roles system in dreamfactory governs backend security users need associated role in dreamfactory security mechanisms work).
you can restrict access parts of data (i.e. both table-level , record-level security) using roles system. control table-level access specifying allowed http verbs given table given role. can use lookup keys inherit existing role permissions you've set in external sql database (go here more info). control record-level access using either lookup keys or server-side filters. common use case allowing creator of record update or delete record. more info on here.
roles govern users can access rest services, data, , applications. user system designed scale large numbers of users, roles, , applications. dreamfactory used large enterprises purpose.
also, dreamfactory open source software install. user , role system stored in mysql database part of install. can extend user , role schema needed. limit of users limited database size. can store millions of users , thousands of roles , apps if necessary (fortune 500 companies have thousands of internal mobile apps).
Comments
Post a Comment