Skip to content

Commit

Permalink
Adding built-in types and alphabetizing (elastic#19306)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb authored and legrego committed Jun 22, 2018
1 parent 7a33bac commit 075784e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function buildSavedObjectsReadPrivileges() {
}

function buildSavedObjectsPrivileges(actions) {
const objectTypes = ['config', 'dashboard', 'index-pattern', 'search', 'visualization', 'graph-workspace'];
const objectTypes = ['config', 'dashboard', 'graph-workspace', 'index-pattern', 'search', 'timelion-sheet', 'url', 'visualization'];
return objectTypes
.map(type => actions.map(action => `action:saved-objects/${type}/${action}`))
.reduce((acc, types) => [...acc, ...types], []);
Expand Down

0 comments on commit 075784e

Please sign in to comment.