Questions tagged [rolify]

Rolify is a very simple Roles library without any authorization enforcement supporting scope on resource object.

Rolify is a very simple Roles library without any authorization enforcement supporting scope on resource object.

See Rolify on GitHub.

229 questions
-1
votes
1 answer

Manage user role in rails (Different attributes, permissions, etc...)

I'm looking for the best way, in ruby on rails 4.2, to create and manage users role with differente attributes and permissions. I don't want to create one table for each users roles, i have some solution with enum or some gem like cancan or rolify…
T1djani
  • 27
  • 1
  • 9
-1
votes
1 answer

What is the Django equivilent to Rolify for rails

I have a Django app with an API that I built. I have been looking at Rolify for roles to give users permission through role and was wondering if there was anything similar that is available for Python/Django?
sMilbz
  • 951
  • 7
  • 25
-2
votes
2 answers

Rails: warning: already initialized constant User::HABTM_Roles rolify

This issue i' m facing When trying to create a seeds.rb inorder to define roles with rolify gem in rails
sowmya
  • 51
  • 2
  • 8
-2
votes
1 answer

Rails, CanCan and Rolify: Postresql error

Question for people who knows Rails with Cancan and Rolify gem. I want to understand how i can get list of user, that have some roles for (for example, Company). Here is description with code and detailed…
user1859243
  • 295
  • 1
  • 5
  • 11
1 2 3
15
16