I have some roles in application which are obsolete because the pmv they belong to is deleted or archived. So my question is how to check these roles whether are obsolete, do we have API to to it? Thanks for your interested asked 03.03.2015 at 12:24 hungnam |
Its basically possible if you analyze the RoleConfiguration-Model of active PMVs in an application. The problem is, that the classes are not available in the designer. But you could use them if you add the jar from the engine to classpath (lib/ivy/ch.ivyteam.ivy.user.role_xxx.jar). I've wrote a sample snip which reads the already deployed role configurations of an app. Don't asume that it is 100% correct and fancy. But you get a hint which APIs that are relevant.
answered 05.03.2015 at 11:24 Reguel Werme... ♦♦ Thanks for your suggestion. It works for us. Could you please consider to put ch.ivyteam.ivy.user.role_xxx.jar to designer classpath or provide another API in next release so that we do not need to add external jar on designer?
(29.07.2015 at 09:41)
lttung
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 03.03.2015 at 12:24
Seen: 2,465 times
Last updated: 04.08.2015 at 13:21