I am working on GeoServer 2.15 on CentOS and configuring users/role manually. We have 300 layers,10 workspaces & 25 users, created 3 roles (internal, external & classified). I want to assign each role to every workspace and its associated layers.
Manually it's possible, but I am looking at a programmatic way to do this thing.
I am aware its possible using REST interface and curl commands (ultimately its updating that xml file only), so is this a proper way ? Or do I have to write Python code using gsconfig for this thing ?