I googled it but found nothing.

Is there a way to create a read only role ?

I mean, when a new object ( stored procedure, table,... ) is created, the "dbo" and "dba" can access it.

The dbo can do everything he wants with data model and content. the dba can do the same + server/security/... settings.

Is there some lower roles ? like:

  1. "datamanager" a role that would automatically be granted insert/update/delete but no DDL ( ALTER ) without the need of an explicit grant
  2. a "readonly role" ( even on newly created objects and without the need of an explicit grant )

EDIT

for sql server there is this:

https://chartio.com/docs/datasources/connections/details/sqluser

有帮助吗?

解决方案

You can create the roles in Sybase ASE, using create role command.

and grant the roles as per your wish to that role. it will work like a group, when you grant this role to someone will have only those privileges.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top