How to configure multiple rule.json in access-control.properties #20128
Replies: 2 comments 5 replies
-
Hi @A-little-bit-of-data, I too have a need for this, but seems like this feature is not supported now. I tried contacting the community members in Slack and they told me about this. I think they should add these feature pretty soon, because it is much needed for users with thousands of policies. Therefore I am tagging @ebyhr and @mosabua. |
Beta Was this translation helpful? Give feedback.
-
From what I know, nobody is working on that. In the end all the policies would still have to be collapsed into one set and then validated and such. As I mentioned on slack you can already do that now .. just have multiple files that you maintain in git or whereever and then have your deployment pipeline assembled on file from multiple input files.. If you want this actually as a feature in trino itself you will probably take up the work and send a pull request that implements that feature with tests and such. |
Beta Was this translation helpful? Give feedback.
-
I read on the official website that there is this item in the access-control.properties configuration, security.config-file=etc/rules.json. Does anyone have such a need? There are many users. If it is written in a json file, the file will It is getting bigger and bigger and more and more difficult to control. I would like to ask everyone, can this rules.json be split into multiple parts? If so, how to configure it?
![image](https://private-user-images.githubusercontent.com/31812278/290776948-e523cd47-d159-43e8-9bb7-468b6e618e2f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjA3MDUsIm5iZiI6MTczOTYyMDQwNSwicGF0aCI6Ii8zMTgxMjI3OC8yOTA3NzY5NDgtZTUyM2NkNDctZDE1OS00M2U4LTliYjctNDY4YjZlNjE4ZTJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDExNTMyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjNjRjMGYxY2I2YjYyY2NmYmI0Mjk0MDI4ZDcyZWI2YjEyMmIzNWI4YmFiMDQzNDYzYzdjYWI1OGY0MmFlZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SSAK-JLM5STQWN3nsR2gAaFsO7Y1J8rVBEAfwW7aU8M)
Beta Was this translation helpful? Give feedback.
All reactions