Skip to main content
deleted 203 characters in body
Source Link
cm2
  • 373
  • 2
  • 7
  • 18

I have a workflow set on a list that will read an AssignedToa Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

EDIT2: I am trying to piece this all together and am starting with a simple item inheritance break, but when I Perform an HTTP POST with the call below, I receive the below error messages. I do not know why I am having a permissions issue or how to go about remedying this within a Workflow. I have full access to the list, so when I run the call it should have sufficient permissions.

https://synchrocenter.ad.selinc.com/sites/SELHome/_api/web/lists/getByTitle('TestList')/items([%Current Item:ID%])/breakroleinheritance(copyRoleAssignments=true,clearSubscopes=true)

Error:

Response Content: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

EDIT2: I am trying to piece this all together and am starting with a simple item inheritance break, but when I Perform an HTTP POST with the call below, I receive the below error messages.

https://synchrocenter.ad.selinc.com/sites/SELHome/_api/web/lists/getByTitle('TestList')/items([%Current Item:ID%])/breakroleinheritance(copyRoleAssignments=true,clearSubscopes=true)

Error:

Response Content: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

I have a workflow set on a list that will read a Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

EDIT2: I am trying to piece this all together and am starting with a simple item inheritance break, but when I Perform an HTTP POST with the call below, I receive the below error messages. I do not know why I am having a permissions issue or how to go about remedying this within a Workflow. I have full access to the list, so when I run the call it should have sufficient permissions.

https://synchrocenter.ad.selinc.com/sites/SELHome/_api/web/lists/getByTitle('TestList')/items([%Current Item:ID%])/breakroleinheritance(copyRoleAssignments=true,clearSubscopes=true)

Error:

Response Content: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

added 610 characters in body
Source Link
cm2
  • 373
  • 2
  • 7
  • 18

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

EDIT2: I am trying to piece this all together and am starting with a simple item inheritance break, but when I Perform an HTTP POST with the call below, I receive the below error messages.

https://synchrocenter.ad.selinc.com/sites/SELHome/_api/web/lists/getByTitle('TestList')/items([%Current Item:ID%])/breakroleinheritance(copyRoleAssignments=true,clearSubscopes=true)

Error:

Response Content: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

EDIT2: I am trying to piece this all together and am starting with a simple item inheritance break, but when I Perform an HTTP POST with the call below, I receive the below error messages.

https://synchrocenter.ad.selinc.com/sites/SELHome/_api/web/lists/getByTitle('TestList')/items([%Current Item:ID%])/breakroleinheritance(copyRoleAssignments=true,clearSubscopes=true)

Error:

Response Content: {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

added 196 characters in body
Source Link
cm2
  • 373
  • 2
  • 7
  • 18

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

I have a workflow set on a list that will read an AssignedTo Person field, and I want this workflow to change the permissions of the user(s) in this column to have full access when they normally would only have read.

I've attempted this by taking tips from this page.

Thus far I have:

"http://mysite.com/_api/web/lists/getByTitle('TestList')/items([itemID])/roleassignments/addroleassignment(personId, 1073741828)"

being called in a POST call in my workflow. The list already has broken its inheritance manually, but I cannot get a user to have unique permissions on this item. How could I progress from here in order to reach my planned goal?

EDIT: The other requirement is that I want to avoid using the impersonation function as it is a feature of SP2010 and I plan to stick to SP2013 functionality which would be through REST calls.

Tweeted twitter.com/#!/StackSharePoint/status/542495777621168128
Source Link
cm2
  • 373
  • 2
  • 7
  • 18
Loading