Description
SecurityPermissionSetBuilder fails to append system permission CACHE_CREATE, CACHE_DESTROY and JOIN_AS_SERVER
Reproducer:
SecurityPermissionSetBuilder.create().appendSystemPermission(SecurityPermission.CACHE_CREATE)
The code above throw IgniteException saying that a security permission name should begin with either EVENTS_ or ADMIN_
Solution:
Update SecurityPermissionSetBuilder to:
- allow system permissions CACHE_CREATE, CACHE_DESTROY and JOIN_AS_SERVER
- restrict cache presmissions CACHE_CREATE, CACHE_DESTROY
- add automated tests
Attachments
Issue Links
- is caused by
-
IGNITE-8221 Cache management and server node authorisation
- Resolved
- links to