Sharing common metadata in multi-tenant environment
First Claim
1. A method comprising:
- determining, by a computing system, whether a base document or a customization document to be accessed is a global document, wherein the determining, whether the base document to be accessed is the global document, includes analyzing a namespace of the base document to determine whether the namespace is identified as global;
when the base document is the global document, accessing, by the computing system, the base document from a global repository shared amongst tenants of a multi-tenant system; and
when the base document is not the global document, accessing, by the computing system, the base document from a tenant repository that is accessible by a tenant of the multi-tenant system, wherein the tenant repository is isolated from other tenants of the multi-tenant system;
determining, by the computing system, whether a context requesting access to the base document or the customization document is global;
when (i) the base document or the customization document to be accessed is the global document, and (ii) the context requesting access to the base document or the customization document is global, writing, by the computing system, the base document or the customization document in the global repository;
when (i) the base document or the customization document is not the global document, and (ii) the context requesting access to the base document or the customization document is not global, writing, by the computing system, the base document or the customization document in the tenant repository; and
rejecting, by the computing system, the writing when (i) the base document or the customization document is the global document;
(ii) the context requesting the base document or the customization document is not global, and (iii) a tenant customization layer is not configured.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates generally to multi-tenant environments, and more particularly, to techniques for segregating and accessing (e.g., reading and writing) global and tenant base and customization metadata in a multi-tenant environment. One of the techniques includes determining whether a metadata document to be accessed is a global document, if so, accessing the metadata document from a global repository shared amongst tenants of a multi-tenant system, and accessing the metadata document from a tenant repository that is accessible by a tenant of the multi-tenant system when the metadata document is not a global document. The technique futher includes disallowing tenants from directly modifying global metadata to not affect other tenants, but still allow tenants to customize global metadata and store the changes as tenant customization documents in the tenant repository. The tenant repository which can be a database or file system is isolated from other tenants of the multi-tenant system.
-
Citations
16 Claims
-
1. A method comprising:
-
determining, by a computing system, whether a base document or a customization document to be accessed is a global document, wherein the determining, whether the base document to be accessed is the global document, includes analyzing a namespace of the base document to determine whether the namespace is identified as global; when the base document is the global document, accessing, by the computing system, the base document from a global repository shared amongst tenants of a multi-tenant system; and when the base document is not the global document, accessing, by the computing system, the base document from a tenant repository that is accessible by a tenant of the multi-tenant system, wherein the tenant repository is isolated from other tenants of the multi-tenant system; determining, by the computing system, whether a context requesting access to the base document or the customization document is global; when (i) the base document or the customization document to be accessed is the global document, and (ii) the context requesting access to the base document or the customization document is global, writing, by the computing system, the base document or the customization document in the global repository; when (i) the base document or the customization document is not the global document, and (ii) the context requesting access to the base document or the customization document is not global, writing, by the computing system, the base document or the customization document in the tenant repository; and rejecting, by the computing system, the writing when (i) the base document or the customization document is the global document;
(ii) the context requesting the base document or the customization document is not global, and (iii) a tenant customization layer is not configured. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory machine readable storage medium having instructions stored thereon that when executed by one or more processors cause the one or more processors to perform a method comprising:
-
determining whether a base document or a customization document to be accessed is a global document wherein the determining, whether the base document to be accessed is the global document includes analyzing a namespace of the base document to determine whether the namespace is identified as global; when the base document is the global document, accessing the base document from a global repository shared amongst tenants of a multi-tenant system; and when the base document is not the global document, accessing the base document from a tenant repository that is accessible by a tenant of the multi-tenant system, wherein the tenant repository is isolated from other tenants of the multi-tenant system; determining whether a context requesting access to the base document or the customization document is global; when (i) the base document or the customization document to be accessed is the global document, and (ii) the context requesting access to the base document or the customization document is global, writing the base document or the customization document in the global repository; when (i) the base document or the customization document is not the global document, and (ii) the context requesting access to the base document or the customization document is not global, writing the base document or the customization document in the tenant repository; and rejecting the writing when (i) the base document or the customization document is the global document;
(ii) the context requesting the base document or the customization document is not global, and (iii) a tenant customization layer is not configured. - View Dependent Claims (12, 13)
-
-
14. A system comprising:
-
one or more processors; and a memory coupled to the one or more processors, the memory storing a plurality of instructions executable by the one or more processors, the plurality of instructions comprising instructions that when executed by the one or more processors cause the one or more processors to perform processing comprising; determining whether a base document or a customization document to be accessed is a global document, wherein the determining, whether the base document to be accessed is the global document, includes analyzing a namespace of the base document to determine whether the namespace is identified as global; accessing the base document from a global repository shared amongst tenants of a multi-tenant system when the base document is the global document; accessing the base document from a tenant repository that is accessible by a tenant of the multi-tenant system when the base document is not the global document, wherein the tenant repository is isolated from other tenants of the multi-tenant system; determining whether a context requesting access to the base document or the customization document is global; when (i) the base document or the customization document to be accessed is the global document, and (ii) the context requesting access to the base document or the customization document is global, writing the base document or the customization document in the global repository; when (i) the base document or the customization document is not the global document, and (ii) the context requesting access to the base document or the customization document is not global, writing the base document or the customization document in the tenant repository; and rejecting the writing when (i) the base document or the customization document is the global document;
(ii) the context requesting the base document or the customization document is not global, and (iii) a tenant customization layer is not configured. - View Dependent Claims (15, 16)
-
Specification