원클릭으로
database-rights
Just adds access to table/function/view for a given user or role (don't add database rights).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Just adds access to table/function/view for a given user or role (don't add database rights).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | database-rights |
| description | Just adds access to table/function/view for a given user or role (don't add database rights). |
| metadata | {"scripts":["database_scripts_executor"]} |
When you need to grant specific permissions to a user or role in the database to allow them to perform certain operations, such as querying a table, executing a function, or accessing a view.
In order to add access rights to a user or role, you can use the following SQL commands:
GRANT SELECT ON TABLE table_name TO user_name;GRANT INSERT ON TABLE table_name TO user_name;GRANT UPDATE ON TABLE table_name TO user_name;GRANT EXECUTE ON FUNCTION function_name TO user_name;GRANT SELECT ON VIEW view_name TO user_name;Use the script database_scripts_executor to execute the SQL commands in the database. The script receives the host, port, username, password, database, and the SQL command to be executed.