Notification about changes to custom resources | Community
Skip to main content
lenaf21917833
Level 2
January 25, 2019
Solved

Notification about changes to custom resources

  • January 25, 2019
  • 2 replies
  • 2438 views

Dear community,

I would like to be informed if a user changes something within the custom resources of our ACS instance - is that possible?

I have the situation that lots of user have admin rights, because there are too many things a standard user is not allowed to do which I want the users to be able to do. Unfortunately, they have access to the custom resources that way, too. I would like to be able to keep an eye on that and be informed in case someone changes something in the custom resource tables. Can such a notification be setup somewhere? Or can I make the custom resources unavailable to a certain security group?

Thanks for an answer!

Lena

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by bisswang

It looks like not being possible easily.

schema / srcSchema can't be queried for, so you can't create e.g. a technical workflow for monitoring that.

There is also no published API for doing that via Adobe I/O calls.

One potential way might be to simulate user login to get the access credentials and then try to call the same API call which the UI is doing /rest/head/cusResourceBase/byText?_order=lastModified desc&_lineStart=0&_lineCount=30

Though that won't be easy and the API etc. may change any time as it's normally not supposed to be used for any direct calls.

Also any admin user will have full access to custom resources, there is no way to limit the permissions among the ADMINISTRATION role.

2 replies

bisswangAdobe EmployeeAccepted solution
Adobe Employee
February 26, 2019

It looks like not being possible easily.

schema / srcSchema can't be queried for, so you can't create e.g. a technical workflow for monitoring that.

There is also no published API for doing that via Adobe I/O calls.

One potential way might be to simulate user login to get the access credentials and then try to call the same API call which the UI is doing /rest/head/cusResourceBase/byText?_order=lastModified desc&_lineStart=0&_lineCount=30

Though that won't be easy and the API etc. may change any time as it's normally not supposed to be used for any direct calls.

Also any admin user will have full access to custom resources, there is no way to limit the permissions among the ADMINISTRATION role.

lenaf21917833
Level 2
February 26, 2019

Hi Ramon, thanks for your answer and the description of the potential option. However, that sounds too complicated for me to realize for my use case...