通过IT定义用户角色,并修改模式:Oracle
我有一个带有两个架构(database_a,database_b)的Oracle数据库(系统)。 我需要创建一个可以修改他的架构的用户角色(app_user)。但是他只能在database_a或database_b上修改他所在的位置,我们可以在表“用户”上找到此用户(database_a.user,database_b.user)。那么如何创建这样的角色呢?
如果我定义用户角色:
GRANT SELECT, UPDATE ON database_A to app_user;
GRANT SELECT, UPDATE ON database_B to app_user;
角色将自动定义用户可以修改的位置? 您有有关此问题的文档吗?
感谢您的回答,
I've got an Oracle database (SYSTEM) with two schema (database_A, database_B).
I need to create a user role (app_user) who can modify his schema. But he can only be on database_A or database_B and modify where he is and we can find this user on a table "user" (database_A.user, database_B.user). So how can i create a role like this ?
If i define a user role :
GRANT SELECT, UPDATE ON database_A to app_user;
GRANT SELECT, UPDATE ON database_B to app_user;
The role will automatically define where the user can modify ?
Have you got documentation for this problem ?
Thanks for your answers,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论