Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
6 subscribers
Views
3795 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
--Process model Security Configuration---
rafaell1
over 8 years ago
Hi,
Is there a way to create an Expression or Report for retrieving information regarding complete security configuration for a Process Model - as we can see in the design, imagem attached, - or the list of actions/process a given user can start, but this user is not the logged-in user?
I have a scenario here where I have to check at first if a given user can start/execute other processes model.
Thanks in advance!
OriginalPostID-270268
Discussion posts and replies are publicly visible
0
Carlos Santander
A Score Level 2
over 8 years ago
I don't think you can get that information in an expression or report, but you should be able to get it from a plugin. Check out AbstractProcessModel.getSecurity() --
docs.appian.com/.../ProcessModel.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 8 years ago
There is also a log that records the security role map for Appian objects. You may be able to use the log reader shared component to pull/parse the info for process models.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harshav
over 8 years ago
If you are not able to go with the above mentioned way, may be we can allow user to click on the link or the process model and based on the security we can show the user like he/she doesn't have the privileges. Let me know if you wanted to do this as we did it in our application as the same
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rafaell1
over 8 years ago
Thanks a lot everyone for your answers!
@carloss, the class ProcessModel() has some methods to get security mapped to a model, do you know if there is some shared component or plugin already using this class?
@joshi, do you know a good shared component that access these logs?
@Harsha, thanks but it's not the case because in my scenario there is no user interaction,
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Josh
Certified Lead Developer
over 8 years ago
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Carlos Santander
A Score Level 2
over 8 years ago
Process Model Utilities (link below; I haven't used it) contains a smart service called Set PM Security. I don't see anything to get PM security, but probably looking at the code you should be able to find a way to get that information.
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rafaell1
over 8 years ago
Thanks joshi and carloss for your helpI will check these components.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel