]
RH Bugzilla Integration commented on WFLY-3017:
-----------------------------------------------
Kabir Khan <kkhan(a)redhat.com> changed the Status of [bug
OperationContextImpl.readResourceForUpdate assumes all resources
represent persistent config
--------------------------------------------------------------------------------------------
Key: WFLY-3017
URL:
https://issues.jboss.org/browse/WFLY-3017
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Domain Management
Affects Versions: 8.0.0.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 8.1.0.CR1
The readResourceForUpdate impl makes a few assumptions regarding the fact that a given
Resource represents persistent config (i.e. Resource.isRuntime() == true):
1) It calls rejectUserDomainServerUpdates() which means an OSH running on a server could
not call this.
2) It calls authorize(false, READ_WRITE_CONFIG) which means an OSH for an op available to
the RBAC Operator role could not call this.
Places this impacts include LogStoreProbeHandler and LogStoreTransactionDeleteHandler
which should be calling readResourceForUpdate but aren't -- and can't because of
this bug.