strongloop / loopback-example-access-control

An example demonstrating LoopBack access control mechanisms.
Other
370 stars 168 forks source link

Use datasource MySQL #112

Closed herbat73 closed 6 years ago

herbat73 commented 7 years ago

Description

Proposal for new branch 'MySQL' to demo access control (Role, User) with models connected to MySQL database (datasource).

Related issues

I did modification in source code and adjust code for eslint since master branch is a bit old it is still using old linter settings.

One general remark for model naming convention. Model name cannot be 'user' otherwise it creates table conflicts. My advice is name it to 'appuser'.

Checklist

slnode commented 7 years ago

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.