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
5 subscribers
Views
8006 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 8 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
Parents
0
Eduardo Fuentes
Appian Employee
over 8 years ago
You don't need any credentials just the username:
ServiceContext myOtherAdminUserServiceContext= ServiceContextFactory.getServiceContext(myOtherAdminUser);
m_typeSvc = ServiceLocator.getTypeService(myOtherAdminUserServiceContext)
m_typeSvc
TypedValue oneCDTValue = m_typeSvc.select(m_mainCDTValue, cdtIndexList);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 8 years ago
You don't need any credentials just the username:
ServiceContext myOtherAdminUserServiceContext= ServiceContextFactory.getServiceContext(myOtherAdminUser);
m_typeSvc = ServiceLocator.getTypeService(myOtherAdminUserServiceContext)
m_typeSvc
TypedValue oneCDTValue = m_typeSvc.select(m_mainCDTValue, cdtIndexList);
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data