update combine cloud and master bugs
This commit is contained in:
@@ -89,10 +89,14 @@ class Ability
|
||||
|
||||
can :manage, Inventory
|
||||
|
||||
can :index, :home
|
||||
can :show, :home
|
||||
|
||||
elsif user.role == "cashier"
|
||||
|
||||
# can :overall_void, :void
|
||||
|
||||
can :index, :home
|
||||
can :show, :home
|
||||
can :read, Order
|
||||
can :update, Order
|
||||
can :menage, Booking
|
||||
@@ -176,6 +180,9 @@ class Ability
|
||||
can :manage, Promotion
|
||||
can :manage, Product
|
||||
|
||||
can :index, :home
|
||||
can :show, :home
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user