tsgrp / HPI

OpenContent Management Suite (OCMS)
http://www.tsgrp.com/products
17 stars 5 forks source link

Implement attribute driven security in Dynamo #2302

Closed sambelcher1 closed 4 years ago

sambelcher1 commented 4 years ago

Currently there is no attribute driven security in the Dynamo module. This should be implemented similar to HBase where you can apply an ACL based on a certain attribute on an object type.

sambelcher1 commented 4 years ago

DYNAMO ATTRIBUTE DRIVEN SECURITY: Added attribute driven security to the dynamo module. This will only work when you set attribute driven security to be enabled. This also fixed creating security objects in dynamo. Switched String[] variable to be List because of casting errors further down the line in OCUtil casting a String[] to a List. Also added in logic to update the ACLMap that is created on startup every time we add a new security object

RESTDynamo - replaced string with constant and changed the constant for the reset dynamo endpoint that I missed in last commit (REV#26170)

CR - aking, jhof, ballen, kgarelli

Closed with REV#26263