Error creating a Smartobject

  • 10 December 2019
  • 3 replies
  • 15 views

Userlevel 3
Badge +16

Hi,

 

Got category security setup and giving access to some developers to knock up some test forms etc. I gave them full allow security access on their own category.

They can create forms/views ok, but when they create a basic Smartobject, they get the following error, any ideas?

 

Authorization Failed

  • Type:

System.Security.SecurityException

  • Source:

SourceCode.SmartObjects.Runtime.Management

  • Stack Trace:


at SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.ExtendService(ExtendObject extendObject)

at SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.ExtendSmartObject(ExtendObject extendObject, Guid serviceInstanceGuid, String serviceObjectName, Guid deploymentGuid, Nullable`1 mode)

at SourceCode.SmartObjects.Runtime.SmartObjectManagementServer.DeploySmartObject(SmartObjectDefinition smartObject, Boolean createDependency)


3 replies

Badge +3

Hi Sharpharp1,


 


Do the users have rights to publish SmartObjects which can be set via SmartObject Security in K2 Management?


 


Please see the following documentation for further information about SmartObject Security:


 


https://help.k2.com/onlinehelp/K2Cloud/UserGuide/Update_10/default.htm#K2-Management-Site/Integration/SmartObjectSecurity.htm


 


While this documentation is specific to K2 Cloud, it is the same information for K2 Five.


 


Thanks,


Thomas

Badge +9

If they are trying to create SmartBox SmartObject, please check and make sure that they have permission on SmartBox Security as well.


https://help.k2.com/onlinehelp/K2Five/UserGuide/5.3/default.htm#K2-Management-Site/Integration/SmartBoxSecurity.htm


 

Badge +7

Hello  @Sharpharp1 ,

 

Please also take a moment to look at the following threads:-

'Could not publish SmartObject Definition to server: Authorization Failed' when editing SmartObjects

https://help.k2.com/support-services/kbt154766

 

Issue was on the smartbox smartobject security tab in management.

https://help.k2.com/onlinehelp/k2blackpearl/userguide/4.7/default.htm#K2_Management_Site/Integration/SmartBoxSecurity.htm

 

All the best.

Reply