Skip to content

Commit

Permalink
Revert "U4 10147 - Bypass User Security option in pickers (#2441)"
Browse files Browse the repository at this point in the history
This reverts commit cc9a7ff.

# Conflicts:
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/EntityController.cs
#	src/Umbraco.Web/Search/UmbracoTreeSearcher.cs
  • Loading branch information
nul800sebastiaan committed Jun 18, 2019
1 parent cff5046 commit 994c6ee
Show file tree
Hide file tree
Showing 35 changed files with 1,581 additions and 1,885 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ function treeSearchBox(localizationService, searchService, $q) {
searchFromName: "@",
showSearch: "@",
section: "@",
ignoreUserStartNodes: "@",
hideSearchCallback: "=",
searchCallback: "="
},
Expand All @@ -35,7 +34,6 @@ function treeSearchBox(localizationService, searchService, $q) {
scope.showSearch = "false";
}


//used to cancel any request in progress if another one needs to take it's place
var canceler = null;

Expand All @@ -62,11 +60,6 @@ function treeSearchBox(localizationService, searchService, $q) {
searchArgs["searchFrom"] = scope.searchFromId;
}

//append ignoreUserStartNodes value if there is one
if (scope.ignoreUserStartNodes) {
searchArgs["ignoreUserStartNodes"] = scope.ignoreUserStartNodes;
}

searcher(searchArgs).then(function (data) {
scope.searchCallback(data);
//set back to null so it can be re-created
Expand Down
Loading

0 comments on commit 994c6ee

Please sign in to comment.