Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top