Closed ortegacmanuel closed 6 years ago
Once this is merge, in the main app in the ability.rb file we could decide with users are able to list versions.
can :list_versions, :words
A manage_versions ability is the combination of list_versions and revert, in some situation with could make something like this
alias_action(:list_versions, :revert, to: :manage_versions)
Once this is merge, in the main app in the ability.rb file we could decide with users are able to list versions.
can :list_versions, :words
A manage_versions ability is the combination of list_versions and revert, in some situation with could make something like this
alias_action(:list_versions, :revert, to: :manage_versions)