Skip to content

Specify Resource in users_roles? #364

@denisemauldin

Description

@denisemauldin

Hi all,

Right now rolify specifies the resource_id and resource_type in the roles table. I'd like to specify the resource_id and resource_type in the users_roles table. I'd like to have one role 'manager' where there are lots of people in the 'manager' role, but each one is a manager for a different event (I don't want to have 20 manager roles). Am I misunderstanding how to use rolify? Is this possible/recommended using rolify or should I use ActiveRecord Associations or a different solution?

Thanks,
Denise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions