diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da1392d..53a0030 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,7 +46,7 @@ Feature requests are welcome! Please open an issue describing: All changes must include tests: - Add test cases to `test_morbac.sql` - Ensure all existing tests still pass -- Test against PostgreSQL 12+ (mention version in PR) +- Test against PostgreSQL 13+ (mention version in PR) ### Documentation diff --git a/README.md b/README.md index ccd4f87..ba16db8 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A PostgreSQL extension implementing the Multi-OrBAC access control model - enabling organization-centric, context-aware, and hierarchical access control with advanced features like delegation, separation of duty, and cross-organizational policies. [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![PostgreSQL 12+](https://img.shields.io/badge/PostgreSQL-12%2B-blue.svg)](https://www.postgresql.org/) +[![PostgreSQL 13+](https://img.shields.io/badge/PostgreSQL-13%2B-blue.svg)](https://www.postgresql.org/) ## Features @@ -26,8 +26,7 @@ A PostgreSQL extension implementing the Multi-OrBAC access control model - enabl ### Prerequisites -- PostgreSQL 12 or higher -- `pgcrypto` extension (included with PostgreSQL) +- PostgreSQL 13 or higher - Development tools: `make`, `bash` ### Quick Install diff --git a/docs/DOCUMENTATION.md b/docs/DOCUMENTATION.md index aa65bfb..92bce53 100644 --- a/docs/DOCUMENTATION.md +++ b/docs/DOCUMENTATION.md @@ -19,7 +19,7 @@ Complete technical documentation for the Multi-OrBAC PostgreSQL extension. pg_morbac is built on these principles: -1. **Pure PostgreSQL**: No external dependencies (except pgcrypto) +1. **Pure PostgreSQL**: No external dependencies 2. **Schema Isolation**: All objects in `morbac` schema 3. **Default Deny**: No permission = access denied 4. **Prohibition Precedence**: Prohibitions checked first, always override permissions diff --git a/pg_morbac.control b/pg_morbac.control index 7e2c0cb..5da4ce7 100644 --- a/pg_morbac.control +++ b/pg_morbac.control @@ -5,4 +5,3 @@ default_version = '1.0.0' module_pathname = '$libdir/pg_morbac' relocatable = false schema = morbac -requires = 'pgcrypto' diff --git a/src/header.sql b/src/header.sql index 3ff8341..a5f25fb 100644 --- a/src/header.sql +++ b/src/header.sql @@ -13,8 +13,5 @@ -- - Role delegation with time bounds -- ============================================================================= --- Require pgcrypto for UUID generation -CREATE EXTENSION IF NOT EXISTS pgcrypto; - -- Create the morbac schema CREATE SCHEMA IF NOT EXISTS morbac;