Skip to content

add Admin user #61

@eva7180

Description

@eva7180

Admin user should be able to manage all Houses, Groups and Tasks as well as all Users.

  1. add admin flag to user table

  2. in ability.rb:

if user.admin?
  can :manage, :all
end

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