Claims
- 1. A data structure stored on one or more computer-readable media that is instantiated in accordance with a schema, the schema comprising:
at least one database class that represents a database object at least one user class that represents a database user; and at least one permission class that represents permissions of the database user with respect to the database object, the permission class being modeled as an association between the database class and the user class.
- 2. A data structure as recited in claim 1, wherein the schema of the computer-readable media comprises a Common Information Model (CIM) extension.
- 3. A data structure as recited in claim 1, further comprising multiple database classes, multiple user classes, and multiple permission classes, the permission classes being modeled as associations between associated database classes and user classes.
- 4. A data structure as recited in claim 1, wherein the database class comprises one or more classes selected from a group of classes comprising a table class, a view class, a user defined class, a database class, and a stored procedure class.
- 5. A data structure as recited in claim 1, wherein the user class comprises one or more classes selected from a group of classes comprising a user class and a role class.
- 6. A data structure stored on one or more computer-readable media that is instantiated in accordance with a schema, the schema comprising:
a database class that represents a database; a table class that represents a database table; a view class that represents a database view; a user class that represents a database user; a role class that represents a database role; a user-database permission association that represents permissions of the database user with respect to the database; a user-table permission association that represents permissions of the database user with respect to the database table; a user-view permission association that represents permissions of the database user with respect to the database view; a role-database permission association that represents permissions of the database role with respect to the database; a role-table permission association that represents permissions of the database role with respect to the database table; and a role-view permission association that represents permissions of the database role with respect to the database view.
- 7. An operating system comprising:
a database class that represents a database object in a database schema; a user class that represents a database user in the database schema; and a permission class that represents permissions of the database user with respect to the database object, the permission class being modeled as an association between the database class and the user class in the database schema.
- 8. An operating system as recited in claim 7, wherein the database schema comprises a Common Information Model (CIM) extension.
- 9. An operating system as recited in claim 7, wherein the database class comprises one or more classes selected from a group of classes comprising a table class, a view class, a user defined class, a database class, and a stored procedure class.
- 10. An operating system as recited in claim 7, wherein the user class comprises one or more classes selected from a group of classes comprising a user class and a role class.
- 11. A method comprising:
creating a data structure in accordance with a schema, the schema defining at least one database class that represents a database object, at least one user class that represents a database user, and at least one permission class that represents permissions of the database user with respect to the database object, the permission class being modeled as an association between the database class and the user class; and populating the data structure.
- 12. A method as recited in claim 11, wherein the database class comprises one or more classes selected from a group of classes comprising a table class, a view class, a user defined class, a database class, and a stored procedure class.
- 13. A method as recited in claim 11, wherein the user class comprises one or more classes selected from a group of classes comprising a user class and a role class.
- 14. A system comprising:
means for instantiating a data structure in accordance with a schema, the schema defining at least one database class that represents a database object, at least one user class that represents a database user, and at least one permission class that represents permissions of the database user with respect to the database object, the permission class being modeled as an association between the database class and the user class; and means for populating the data structure.
RELATED APPLICATIONS
[0001] This application claims priority to U.S. Provisional Application No. 60/249,495, filed Nov. 17, 2000, entitled “Representing Database Permissions As Associations In Computer Schema.”
Provisional Applications (1)
|
Number |
Date |
Country |
|
60249495 |
Nov 2000 |
US |