You do not have permission to create an item here (Local Datasources)
up vote
2
down vote
favorite
I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by default under pages.
So the 'data' folder shows up, but they can't create items there when clicking "create":
Is there a security setting that must be enabled for an author to use this? (keeping in mind that I'm using the principle of least privilege)
Thanks!
sxa security
add a comment |
up vote
2
down vote
favorite
I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by default under pages.
So the 'data' folder shows up, but they can't create items there when clicking "create":
Is there a security setting that must be enabled for an author to use this? (keeping in mind that I'm using the principle of least privilege)
Thanks!
sxa security
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by default under pages.
So the 'data' folder shows up, but they can't create items there when clicking "create":
Is there a security setting that must be enabled for an author to use this? (keeping in mind that I'm using the principle of least privilege)
Thanks!
sxa security
I'm working on security for an implementation and while testing use cases, I found that my authors are not able to create local datasources in the 'virtual page data' location that is hidden by default under pages.
So the 'data' folder shows up, but they can't create items there when clicking "create":
Is there a security setting that must be enabled for an author to use this? (keeping in mind that I'm using the principle of least privilege)
Thanks!
sxa security
sxa security
edited 1 hour ago
Mark Cassidy♦
16.6k43180
16.6k43180
asked 2 hours ago
Craig Taylor
1455
1455
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
3
down vote
accepted
While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the Data item; which I believe is a Virtual Page Data.
Example: The following applies security changes to the Data folders.
# This is a helper method to simplify the changes.
function New-AccessRuleList {
[CmdletBinding()]
[OutputType("System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]")]
param(
[string]$Identity,
[string]$AccessRule,
[Sitecore.Security.AccessControl.PropagationType]$PropagationType,
[Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission
)
$list = New-Object "System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]"
foreach($rule in $accessrule) {
$list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))
}
@(,$list)
}
$allowItemProps = @{
PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity
SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess
}
$realEveryone = "Everyone"
$virtualDataItem = Get-Item -Path "master:" -ID "{9700DC24-8969-4638-ACC3-34D54335829E}"
$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection
$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))
$virtualDataItem | Add-ItemAcl -AccessRules $accessRules
The final results:
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
add a comment |
up vote
2
down vote
I think you are encountering the bug described by Kris here https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html
(see "First issue" in the blog post).
The solution is:
- Go to the item:
/sitecore/system/Settings/Foundation/Experience Accelerator/Local Datasources/Virtual Page Data
- Add the permission for the "Create" security right for all the needed users or role. (In this case that is the SXA Author created role)
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "664"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f15556%2fyou-do-not-have-permission-to-create-an-item-here-local-datasources%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the Data item; which I believe is a Virtual Page Data.
Example: The following applies security changes to the Data folders.
# This is a helper method to simplify the changes.
function New-AccessRuleList {
[CmdletBinding()]
[OutputType("System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]")]
param(
[string]$Identity,
[string]$AccessRule,
[Sitecore.Security.AccessControl.PropagationType]$PropagationType,
[Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission
)
$list = New-Object "System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]"
foreach($rule in $accessrule) {
$list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))
}
@(,$list)
}
$allowItemProps = @{
PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity
SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess
}
$realEveryone = "Everyone"
$virtualDataItem = Get-Item -Path "master:" -ID "{9700DC24-8969-4638-ACC3-34D54335829E}"
$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection
$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))
$virtualDataItem | Add-ItemAcl -AccessRules $accessRules
The final results:
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
add a comment |
up vote
3
down vote
accepted
While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the Data item; which I believe is a Virtual Page Data.
Example: The following applies security changes to the Data folders.
# This is a helper method to simplify the changes.
function New-AccessRuleList {
[CmdletBinding()]
[OutputType("System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]")]
param(
[string]$Identity,
[string]$AccessRule,
[Sitecore.Security.AccessControl.PropagationType]$PropagationType,
[Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission
)
$list = New-Object "System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]"
foreach($rule in $accessrule) {
$list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))
}
@(,$list)
}
$allowItemProps = @{
PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity
SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess
}
$realEveryone = "Everyone"
$virtualDataItem = Get-Item -Path "master:" -ID "{9700DC24-8969-4638-ACC3-34D54335829E}"
$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection
$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))
$virtualDataItem | Add-ItemAcl -AccessRules $accessRules
The final results:
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the Data item; which I believe is a Virtual Page Data.
Example: The following applies security changes to the Data folders.
# This is a helper method to simplify the changes.
function New-AccessRuleList {
[CmdletBinding()]
[OutputType("System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]")]
param(
[string]$Identity,
[string]$AccessRule,
[Sitecore.Security.AccessControl.PropagationType]$PropagationType,
[Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission
)
$list = New-Object "System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]"
foreach($rule in $accessrule) {
$list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))
}
@(,$list)
}
$allowItemProps = @{
PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity
SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess
}
$realEveryone = "Everyone"
$virtualDataItem = Get-Item -Path "master:" -ID "{9700DC24-8969-4638-ACC3-34D54335829E}"
$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection
$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))
$virtualDataItem | Add-ItemAcl -AccessRules $accessRules
The final results:
While trying to configure security for the users of our system, I found that I needed to grant access to the template used for the Data item; which I believe is a Virtual Page Data.
Example: The following applies security changes to the Data folders.
# This is a helper method to simplify the changes.
function New-AccessRuleList {
[CmdletBinding()]
[OutputType("System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]")]
param(
[string]$Identity,
[string]$AccessRule,
[Sitecore.Security.AccessControl.PropagationType]$PropagationType,
[Sitecore.Security.AccessControl.SecurityPermission]$SecurityPermission
)
$list = New-Object "System.Collections.Generic.List[Sitecore.Security.AccessControl.AccessRule]"
foreach($rule in $accessrule) {
$list.Add((New-ItemAcl -Identity $Identity -AccessRight $rule -PropagationType $PropagationType -SecurityPermission $SecurityPermission))
}
@(,$list)
}
$allowItemProps = @{
PropagationType = [Sitecore.Security.AccessControl.PropagationType]::Entity
SecurityPermission = [Sitecore.Security.AccessControl.SecurityPermission]::AllowAccess
}
$realEveryone = "Everyone"
$virtualDataItem = Get-Item -Path "master:" -ID "{9700DC24-8969-4638-ACC3-34D54335829E}"
$accessRules = New-Object Sitecore.Security.AccessControl.AccessRuleCollection
$accessRules.AddRange((New-AccessRuleList -Identity $realEveryone -AccessRule item:create @allowItemProps))
$virtualDataItem | Add-ItemAcl -AccessRules $accessRules
The final results:
answered 2 hours ago
Michael West
8,08621450
8,08621450
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
add a comment |
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
Thanks @Michael! Setting the permissions to 'create' on the item let my author role create these datasources!
– Craig Taylor
1 hour ago
add a comment |
up vote
2
down vote
I think you are encountering the bug described by Kris here https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html
(see "First issue" in the blog post).
The solution is:
- Go to the item:
/sitecore/system/Settings/Foundation/Experience Accelerator/Local Datasources/Virtual Page Data
- Add the permission for the "Create" security right for all the needed users or role. (In this case that is the SXA Author created role)
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
add a comment |
up vote
2
down vote
I think you are encountering the bug described by Kris here https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html
(see "First issue" in the blog post).
The solution is:
- Go to the item:
/sitecore/system/Settings/Foundation/Experience Accelerator/Local Datasources/Virtual Page Data
- Add the permission for the "Create" security right for all the needed users or role. (In this case that is the SXA Author created role)
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
add a comment |
up vote
2
down vote
up vote
2
down vote
I think you are encountering the bug described by Kris here https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html
(see "First issue" in the blog post).
The solution is:
- Go to the item:
/sitecore/system/Settings/Foundation/Experience Accelerator/Local Datasources/Virtual Page Data
- Add the permission for the "Create" security right for all the needed users or role. (In this case that is the SXA Author created role)
I think you are encountering the bug described by Kris here https://kverheire.blogspot.com/2018/06/setting-sxa-security-roles-with-small.html
(see "First issue" in the blog post).
The solution is:
- Go to the item:
/sitecore/system/Settings/Foundation/Experience Accelerator/Local Datasources/Virtual Page Data
- Add the permission for the "Create" security right for all the needed users or role. (In this case that is the SXA Author created role)
answered 2 hours ago
Gatogordo
10.9k21555
10.9k21555
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
add a comment |
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
+1'd. Thanks @Gatogordo. Yes, adding the proper permissions enabled this to work!
– Craig Taylor
1 hour ago
add a comment |
Thanks for contributing an answer to Sitecore Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f15556%2fyou-do-not-have-permission-to-create-an-item-here-local-datasources%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown