remove: pgcrypto reference
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ Feature requests are welcome! Please open an issue describing:
|
|||||||
All changes must include tests:
|
All changes must include tests:
|
||||||
- Add test cases to `test_morbac.sql`
|
- Add test cases to `test_morbac.sql`
|
||||||
- Ensure all existing tests still pass
|
- Ensure all existing tests still pass
|
||||||
- Test against PostgreSQL 12+ (mention version in PR)
|
- Test against PostgreSQL 13+ (mention version in PR)
|
||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
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.
|
||||||
|
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://www.postgresql.org/)
|
[](https://www.postgresql.org/)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@@ -26,8 +26,7 @@ A PostgreSQL extension implementing the Multi-OrBAC access control model - enabl
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- PostgreSQL 12 or higher
|
- PostgreSQL 13 or higher
|
||||||
- `pgcrypto` extension (included with PostgreSQL)
|
|
||||||
- Development tools: `make`, `bash`
|
- Development tools: `make`, `bash`
|
||||||
|
|
||||||
### Quick Install
|
### Quick Install
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ Complete technical documentation for the Multi-OrBAC PostgreSQL extension.
|
|||||||
|
|
||||||
pg_morbac is built on these principles:
|
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
|
2. **Schema Isolation**: All objects in `morbac` schema
|
||||||
3. **Default Deny**: No permission = access denied
|
3. **Default Deny**: No permission = access denied
|
||||||
4. **Prohibition Precedence**: Prohibitions checked first, always override permissions
|
4. **Prohibition Precedence**: Prohibitions checked first, always override permissions
|
||||||
|
|||||||
@@ -5,4 +5,3 @@ default_version = '1.0.0'
|
|||||||
module_pathname = '$libdir/pg_morbac'
|
module_pathname = '$libdir/pg_morbac'
|
||||||
relocatable = false
|
relocatable = false
|
||||||
schema = morbac
|
schema = morbac
|
||||||
requires = 'pgcrypto'
|
|
||||||
|
|||||||
@@ -13,8 +13,5 @@
|
|||||||
-- - Role delegation with time bounds
|
-- - Role delegation with time bounds
|
||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
|
|
||||||
-- Require pgcrypto for UUID generation
|
|
||||||
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
|
||||||
|
|
||||||
-- Create the morbac schema
|
-- Create the morbac schema
|
||||||
CREATE SCHEMA IF NOT EXISTS morbac;
|
CREATE SCHEMA IF NOT EXISTS morbac;
|
||||||
|
|||||||
Reference in New Issue
Block a user