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

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)