rafoli / liferay-sample-workspace

2 stars 7 forks source link

INLSW-49 Restrict views or tabs (Angular). #72

Closed rennanprysthon closed 3 years ago

rennanprysthon commented 3 years ago

Ticket: https://services.liferay.com/browse/INLSW-49

Reuse SampleWorkspace javascript global variable created before.

Created two auth guards: RoleAdmin and RoleSigned

Also created a RoleService with three functions to verify user's permissions and roles

filipemelo2002 commented 3 years ago

Dependes on #71. Please make sure to merge that one first, and then, after the adjustments, this one is good to go from my perspective.

rafoli commented 3 years ago

Thanks!