CPC G06F 21/6218 (2013.01) [G06F 16/27 (2019.01)] | 20 Claims |
1. A method comprising:
generating, by a first account using one or more processors coupled to a memory, a database;
receiving, from a second account by one or more processors, a request to clone the database associated with the first account;
determining an identifier of the second account;
using the identifier of the second account to determine a role of the second account stored in a user table;
retrieving, from a grant table, a grant associated with a privilege of the second account, the grant table associating different roles with different privileges;
controlling whether to permit or deny cloning of the database based on the grant associated with the privilege retrieved from the grant table;
in response to permitting cloning of the database, determining whether the request to clone the database comprises a command to copy grants; and
selectively copying one or more grants from the grant table into a clone of the database based on determining whether the request to clone the database comprises the command to copy grants.
|