I know that pages are not truly owned by any one author but I need to generate a report basically showing that. I'm thinking a report that shows what pages an author has permissions to update. Is that possible?
Without going into to much detail (this is a complicated question afterall). You could create a UmbracoAuthorizedApiController that has a single get method that returns an excell sheet generated by ClosedXML.
To get the date you could first get all entities using the Entity service
Services.EntityService.GetAll();
Then get all the pages you want to audit from Services.ContentService and enumerate each Icontent you get for each Entity you recieved earlier by using Services.ContentService.GetPermissionsForEntity(Icontent)
This will not be the fastest thing to run since the Services run straight against the database instead of the cache.
Report of page permissions?
I know that pages are not truly owned by any one author but I need to generate a report basically showing that. I'm thinking a report that shows what pages an author has permissions to update. Is that possible?
Without going into to much detail (this is a complicated question afterall). You could create a UmbracoAuthorizedApiController that has a single get method that returns an excell sheet generated by ClosedXML.
To get the date you could first get all entities using the Entity service
Services.EntityService.GetAll();
Then get all the pages you want to audit fromServices.ContentService
and enumerate each Icontent you get for each Entity you recieved earlier by usingServices.ContentService.GetPermissionsForEntity(Icontent)
This will not be the fastest thing to run since the Services run straight against the database instead of the cache.
Hope this points you in the right direction.
is working on a reply...