Replies: 3 comments
-
Hi, I'm not sure, but this fonctionality (managing privileges on tables, views, etc.) is not implemented, is it ? I would like to manage SELECT, INSERT, etc. on some tables in some schemas, but i did not find in the documentation how do it. Could you please confirm if it is possible to manage tables, or not ? Because i have tried the syntax in your issue, but i got some errors. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @Dallery . ldap2pg does not manage per-object privilege. This issue is just an open discussion. |
Beta Was this translation helpful? Give feedback.
-
I'm wondering the performance cost of inspecting zillons of objects. |
Beta Was this translation helpful? Give feedback.
-
I'm sharing a proposal to manage fine-grained privileges in ldap2pg.
To manage privileges, ldap2pg loops on database and schema. But sometime, that would be nice to loop on other objects like table, views, procedures, etc.
An idea on this would be to be able to define generic object inspection:
When granting a privilege, one can append extra parameter. Matching object type will be used.
Privilges can use object type in grant and revoke queries:
__select_on_all_tables__
could be rewritten like this, saving huge query to inspect.Feedback welcome :-)
Beta Was this translation helpful? Give feedback.
All reactions