Skip to content

Commit

Permalink
tweak prefix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jan 13, 2021
1 parent 1a18450 commit b31cb65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/abilities/prefix.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export default Ability.extend({
return true;
case 'consortium_admin':
case 'provider_admin':
// return this.get('model.providers').any(function(provider, index, providers) {
// return provider.get('id') === self.get('currentUser.provider_id');
// });
return false;
// return this.get('model.providers').any(function(provider, index, providers) {
// return provider.get('id') === self.get('currentUser.provider_id');
// });
default:
return false;
}
Expand Down

0 comments on commit b31cb65

Please sign in to comment.