Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16673

Attribute mutation doesn't work with secure caches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 15.1.0.Dev06
    • None
    • REST
    • None

      Trying out on latest main server image, when trying to add alias to the secured cache over Console which uses REST call to the server (action is done as admin user), I am getting "Unauthorized action" error message. The respone of REST call gives 403 response. See the attached screenshot.

      The cache config is:

      <?xml version="1.0"?>
      <distributed-cache name="a-rbac-test-cache" mode="SYNC" statistics="true">
      	<encoding media-type="application/x-protostream"/>
      	<memory storage="HEAP" max-size="1.5GB"/>
      	<persistence passivation="false">
      		<file-store>
      			<data path="data"/>
      			<index path="index"/>
      		</file-store>
      	</persistence>
      	<indexing enabled="true" startup-mode="REINDEX">
      		<index-reader/>
      		<indexed-entities>
      			<indexed-entity>org.infinispan.Car</indexed-entity>
      		</indexed-entities>
      	</indexing>
      	<security>
      		<authorization enabled="true" roles="application admin deployer"/>
      	</security>
      </distributed-cache>
      

              ttarrant@redhat.com Tristan Tarrant
              amanukya@redhat.com Anna Manukyan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: