Patent ID: 8548982

Claim:
A method for controlling access to diverse custom objects in a custom entity share table, the method including: storing a plurality of custom object types for a plurality of shared database tenants in a custom entity share table in a memory, wherein: a first custom object for a first tenant has a first schema including a first set of custom fields; a second custom object for a second tenant has a second schema including a second set of custom fields; the first and second custom objects are both stored in the same custom entity share table despite having different sets of custom fields; and the first and second custom objects are both associated with fields for tenant identifier (id) and object type; receiving a request on behalf of a user belonging to a particular tenant for access to custom objects of a particular custom object type; identifying a particular tenant and a particular group within a particular organization to which the user belongs; determining whether the particular group has access to the particular custom object type requested and, responsively, filtering custom objects in the custom entity share table by at least the tenant id and by the object type to select at least some of the plurality of the custom objects responsive to the request received; and responsive to the received request, accessing the at least some selected custom objects of the particular custom object type.