[wildfly-dev] Runtime only resources

Michael Musgrove mmusgrov at redhat.com
Wed Jun 28 07:31:46 EDT 2017


We have a transaction case where the customer is trying to delete a
(transaction log) model resource via the CLI and is seeing the error:

"was directly invoked by the user. User operations are not permitted to
directly update the persistent configuration of a server in a managed
domain."

This is coming from ControllerLogger#modelUpdateNotAuthorized (in
wildfly-core) because we define the resource as *not* being runtime only:

public boolean isRuntime() {return false;}

My question is should we be defining the resource as a runtime resource or
should we tell the customer not to delete the resouce from the controller?

Thanks,
Mike


-- 
Michael Musgrove
Transactions Team
e: mmusgrov at redhat.com

Our mission:To be the catalyst in communities of customers, contributors,
and partners creating better technology the open source way.

JBoss, by Red Hat
Registered Address: Red Hat Ltd, 6700 Cork Airport Business Park, Kinsale
Road, Co. Cork.
Registered in the Companies Registration Office, Parnell House, 14 Parnell
Square, Dublin 1, Ireland, No.304873
Directors:Michael Cunningham (USA), Vicky Wiseman (USA), Michael O'Neill,
Keith Phelan, Matt Parson (USA)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20170628/1946c877/attachment.html 


More information about the wildfly-dev mailing list