No User Groups Model

10 views
Skip to first unread message

Faraz Siddiqui

unread,
Dec 2, 2016, 2:23:57 PM12/2/16
to LoopbackJS
I am new to LoopBack and was researching the built-in model. I see there is User and Role models but there is no Groups model. In a production environment it makes it very messy to assign users to Roles instead of a Group. Is this addressed somehow?

Mark Johnson

unread,
Dec 2, 2016, 8:11:58 PM12/2/16
to LoopbackJS
This sounds like a custom requirement.  Everybody's role/permission systems have unique requirements so I don't think it makes sense to have a specific model built in for this.  After all, Loopback is a strong foundation for an application and isn't a full solution for any specific use case within itself.

Faraz Siddiqui

unread,
Dec 10, 2016, 1:41:35 PM12/10/16
to LoopbackJS
Thanks for the reply. Is there any way to implement groups? I tried creating a groups table with relations to role but it doesn't work. Let's say a user is assigned to a group and that group is related to a role.
Reply all
Reply to author
Forward
0 new messages