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
29 replies
Subscribers
4 subscribers
Views
9616 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I wrote an expression plug-in that returns a writer. Every thing has worked fin
venkats533
over 9 years ago
I wrote an expression plug-in that returns a writer. Every thing has worked fine when used by a "System Designer" but when attempted to execute as "Basic User", the following error is returned. How do I set security for writer function to allow a "Basic User".
[local!testWriter:The user [test.ccat.submitter] does not have sufficient privileges to perform the requested action.]
OriginalPostID-166633
OriginalPostID-166633
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 9 years ago
DO NOT make the user and Admin just add him to "Designers" that'll give me an idea on where to look in your code if that works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
I don't see any group called "Designers" at all. What am I missing ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
sorry - got it now
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Excellent. Once you add this user to that group, log out and log in. See if the function now works for the basic user. If it does, I'll take a look at your plug-in
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
Edurado, as usual - you nailed it. When I added this basic user into "Designers" group no errors at all. Help me to remove this restriction now.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
should I attach the source code as ZIP file now ? or you just want to see the key parts like InitialContext() and lookup() parts ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Would you mind sending me the ZIP? Would be better
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
I'll also need the <APPIAN_HOME>\\logs\\authz-audit.csv log
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
just sent you the source code in email for better security. I will send the log audit.csv file now again
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
venkats533
over 9 years ago
looks like I am getting this error when trying to read a field value of CDT inside my plugin. using select API on TypeService.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<
>