Compare commits
No commits in common. "8b777077a72378c92b4b460f8b7facf7635a4add" and "435d82116da9a80a678ab06eac1c314d62972e43" have entirely different histories.
8b777077a7
...
435d82116d
@ -28,7 +28,7 @@ commit;
|
|||||||
set hsadminng.tx_history_txid to '';
|
set hsadminng.tx_history_txid to '';
|
||||||
set hsadminng.tx_history_timestamp to '2024-08-29 12:42';
|
set hsadminng.tx_history_timestamp to '2024-08-29 12:42';
|
||||||
-- all versions
|
-- all versions
|
||||||
select base.tx_history_txid(), txc.txtimestamp, txc.currentSubject, txc.currentTask, haex.*
|
select tx_history_txid(), txc.txtimestamp, txc.currentSubject, txc.currentTask, haex.*
|
||||||
from hs_hosting_asset_ex haex
|
from hs_hosting_asset_ex haex
|
||||||
join base.tx_context txc on haex.txid=txc.txid
|
join base.tx_context txc on haex.txid=txc.txid
|
||||||
where haex.identifier = 'test@thi.example.org';
|
where haex.identifier = 'test@thi.example.org';
|
||||||
|
@ -33,7 +33,7 @@ $$
|
|||||||
userId uuid;
|
userId uuid;
|
||||||
result bool;
|
result bool;
|
||||||
BEGIN
|
BEGIN
|
||||||
userId = rbac.findRbacSubject('superuser-alex@hostsharing.net');
|
userId = findRbacSubject('superuser-alex@hostsharing.net');
|
||||||
result = (SELECT * FROM rbac.isPermissionGrantedToSubject(rbac.findPermissionId('package', 94928, 'add-package'), userId));
|
result = (SELECT * FROM rbac.isPermissionGrantedToSubject(rbac.findPermissionId('package', 94928, 'add-package'), userId));
|
||||||
IF (result) THEN
|
IF (result) THEN
|
||||||
RAISE EXCEPTION 'expected permission NOT to be granted, but it is';
|
RAISE EXCEPTION 'expected permission NOT to be granted, but it is';
|
||||||
|
@ -68,11 +68,11 @@ public class ArchitectureTest {
|
|||||||
"..mapper",
|
"..mapper",
|
||||||
"..ping",
|
"..ping",
|
||||||
"..rbac",
|
"..rbac",
|
||||||
"..rbac.generator",
|
|
||||||
"..rbac.subject",
|
"..rbac.subject",
|
||||||
"..rbac.grant",
|
"..rbac.rbacgrant",
|
||||||
"..rbac.role",
|
"..rbac.rbacrole",
|
||||||
"..rbac.object",
|
"..rbac.rbacobject",
|
||||||
|
"..rbac.rbacdef",
|
||||||
"..stringify"
|
"..stringify"
|
||||||
// ATTENTION: Don't simply add packages here, also add arch rules for the new package!
|
// ATTENTION: Don't simply add packages here, also add arch rules for the new package!
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user