I know how to apply permission on single folder. But we need to inherit to subfolders.
[LL_REPTAG_1 PERMACTION:ACL:[LL_REPTAG_!SYALLOPRO USERINFO:ID /]:UPDATE:"SEE,SEECONTENTS" /]
Please guide me if do we have any tag on this.
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
Please provide the OS and TS version.
With Linux, you can set the sticky bit to have it inherit permissions. On DOS it is more difficult, likely need a command trigger.
You should also be using the submit.cfg file, this can alleviate the need for a lot of things and my do what you need, easily.
Hi @VarinderAggarwal Did you find a way to update permissions to subfolders using Web report? Hey @AppuNair, Can you please help if you know anything?
If you are in one folder and have 500 things underneath it in different folders and subfolders, you need to iterate that using WR or LR combination, so an example of such a query will be
Select Name, DataiD from DTREE where PARENTID=1234 // just the direct descendants of a folder
Since OT is now selling thousands of accounts of extended ECM, each workspace is a Volume and has an owner ID concept.BTW, for you to kno,w the Volume concept is not part of XECM but has been in the livelink schema for thirty-plus years and is a proper RDBMS construct. Enterprise WKSP , Personal WKSP, and Project WKSP were the earlier ones before the 848 subtype was invented. There are also thousands of other Volumes any object whoes parentid =-1 is a volume(in simpler terms you cant go higher)
SELECT * FROM [CS25DB].[csdbuser].[DTREE] where PARENTID=64307 does not mean anything that 64307 is an ECM workspace or any Volume
so what you need in that case is to get the workspaceid and query on ownerid
SELECT * FROM [CS25DB].[csdbuser].[DTREE] where OWNERID=64307 //all objects owned by the workspace. This is how OT used to teach us fundamentals. Also, an interview question on jobs in XECM.
Now this will work if your subfolders are part of workspaces, but OT has a convenient table called DTREEANCESTORS that knows the immediate parent :)
If you have a WR applying the correct permission on the folder, just call the same code on the DataIds returned by one of these queries, as the case may be.You can actually parse the children of a container but that maybe for your own reaserch :)
Hi @appuq - Thank you for the quick help. I have done the same way, get dataids for parent and update the permissions on each node but I was curious to know if there is any other quick way like APPLYTO param which is there for ROLEACTION tag. Thanks once again :)
There is don't you see this ? I doubt if the WR people have extended the tag to do what the rest api does…
OT is a large company, so not all their interfaces will be 100 % parity.I Could point several examplesss wehere a WR tag does in a way,REST does in another way and OI does in yet another way:)
You can write a WR shell and call REST API if you so choose although OT does not like you calling the sever you are on :)
Hi @appuq - Yes we can use REST API but we are struggling to get necessary approvals from client so we decided to go with web report as it uses OTCS UI.
Not sure what to make of what you are asking?
You can't use REST API, which allows you to push to sub-items,y ou already have a way to do this in WR
so you were just polling the forum to see if there was an "efficient" WR tag perhaps ask them through a feature request, or write one yourself, but in your case they wont even allow you to run restapi,so what would be their attitude if wrote a custom WR tag? although they dont really know that smartui is calling rest api day in day out :) last comment on this, I respond to people thinking that they dont have a way to solve a problem, in your case you seem to have solved all of this yourself and were just polling the surface.