Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Database Schema for Resource Sharing Policies Management Component #4170

Open
wants to merge 2 commits into
base: 4.10.x
Choose a base branch
from

Conversation

BimsaraBodaragama
Copy link
Member

Purpose

Introduce database schema to support resource-sharing policies and their associated attributes. This resolves the requirement for managing organizational resource-sharing capabilities and ensuring consistency across multiple databases.

Goals

Provide robust support for defining, managing, and maintaining resource-sharing policies and their attributes, ensuring compatibility with diverse database systems.

Approach

Created two tables, UM_RESOURCE_SHARING_POLICY and UM_SHARED_RESOURCE_ATTRIBUTES, to store resource-sharing policies and their attributes.
Added primary and foreign keys for referential integrity, with cascading delete support.
Implemented sequences and triggers for automatic ID generation where applicable (DB2, Oracle, PostgreSQL).

Testing

Ensured schema compatibility with DB2, H2, Informix, MSSQL, MySQL, Oracle, Oracle RAC, PostgreSQL, and MySQL Cluster.


Related Issue

Solution to a part of Parent organization admin gives sub org level access to users in his/her organization #29

@BimsaraBodaragama BimsaraBodaragama self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant