The operation used to work and I suspect that the root cause is WFCORE-2858 (Roll out READ_ONLY + RUNTIME_ONLY ops to the domain) and the fix for the transaction subsystem is https://issues.jboss.org/browse/JBEAP-11651. It would be great if someone with more knowledge than I of the domain model could verify my hypothesis.

On Wed, Jun 28, 2017 at 12:31 PM, Michael Musgrove <mmusgrov@redhat.com> wrote:
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)



--
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)