G
Guest
Hi,
I’ve got a requirement from one of my clients and I am not sure if there are
any cons. I am developing a data management software for him. He
administrates the underlying SQL Server 2000 database by himself. Now he
wants that my software assumes the user rights automatically from the SQL
Server. Please let me give you a short example:
Lets say we have a table called Customers. User A has the following rights
- select (all columns)
- update (only address fields)
- insert (deny)
- delete (deny)
My application offers a GUI to manage customers. If user A opens the form
the app should disable/hide the delete and insert buttons and disable all
fields user A is not allowed to edit.
My client wants to centralize the rights management what is not a bad idea.
He wants to define roles and rights dynamically. He has some other
applications who also read and edit data of this database so he doesn’t want
to give users the right to edit all values of tables and fields.
Do you see any cons?
Look forward to hearing any cons
Stephan
I’ve got a requirement from one of my clients and I am not sure if there are
any cons. I am developing a data management software for him. He
administrates the underlying SQL Server 2000 database by himself. Now he
wants that my software assumes the user rights automatically from the SQL
Server. Please let me give you a short example:
Lets say we have a table called Customers. User A has the following rights
- select (all columns)
- update (only address fields)
- insert (deny)
- delete (deny)
My application offers a GUI to manage customers. If user A opens the form
the app should disable/hide the delete and insert buttons and disable all
fields user A is not allowed to edit.
My client wants to centralize the rights management what is not a bad idea.
He wants to define roles and rights dynamically. He has some other
applications who also read and edit data of this database so he doesn’t want
to give users the right to edit all values of tables and fields.
Do you see any cons?
Look forward to hearing any cons
Stephan