ACC · Access
A person logs in as a profile and joins an organization through a membership. Roles sit on the membership, each for one pool or for all pools; grant and deny overrides adjust one permission at a time. Row-level security applies the result on every query. Code ACC.
The Access rules are split into the pages below by subject. Every rule keeps its ID, R-ACC-n, on whichever page it sits. A new Access rule takes the next number after the highest R-ACC ID on any of these pages, and an ID is never reused. R-ACC-35 to R-ACC-46 are on Since D31 · margin, NIK and phone and Since D31 · access answers from #72 until the audit moves them.
| Page | Covers | Rules (R-ACC-) |
|---|---|---|
| Permissions and row-level security | The permission catalogue, the system roles and what they hold, pool scope, and how row-level security applies permissions on every query. | 01, 02, 03, 04, 05, 06, 07, 09, 10, 11, 12, 24, 25, 26, 27, 28, 29, 33, 47, 49, 63, 64, 65, 66, 67, 68, 69, 72, 77, 78, 79, 80, 84, 85, 86, 87, 88, 89, 223, 224, 225, 226, 228 |
| Roles and overrides | Reading and changing members, their roles and their grant and deny overrides: grant_role(), revoke_role(), set_override(), clear_override() and the Peran and Pengecualian izin tabs. | 14, 16, 17, 18, 19, 20, 21, 22, 23, 50, 51, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 144, 145, 146 |
| Delegated approvals | Delegating an approval permission for a while: delegable permissions, delegated overrides, delegate_permission() and revoke_delegation() (D97). | 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242 |
| Rental-company scope and the all-companies flag | Which rental companies' cars a member sees, the all-companies flag, set_company_scope(), set_all_rental_companies() and the Perusahaan rental tab (D99, D100). | 34, 134, 135, 180, 136, 137, 138, 139, 140, 141, 142, 143, 147, 148, 149, 150, 151, 152, 153, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 184, 176, 177, 178, 179, 186 |
| Profiles, passwords and sessions | Logins and profiles, the locale, password rules, how long a session lasts and which access changes end a user's sessions (D37, D48). | 08, 13, 15, 30, 31, 32, 48, 52, 53, 54, 55, 56, 60, 61, 62, 70 |
| Invitations and first sign-in | Inviting a member, the invite link, /welcome and the first password, and the rental companies an invitation carries (D50, D51, D98). | 57, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 154, 181, 155, 156, 157, 158, 159, 160, 161, 182, 162, 183, 163, 185, 164 |
| Members: suspend, reinstate, remove | The /users members list and a member's page, suspend_member(), reinstate_member() and remove_member(), and revoking and restoring invitations on the Undangan tab. | 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222 |
| v1's access in the migration | How v1's logins, roles, permissions, allowed pages and rental companies move into v2, and the table of v1 to v2 permission names. | 58, 59, 71, 73, 74, 75, 76, 81, 82, 83, 227 |
v1 to v2 permission names
Section titled “v1 to v2 permission names”The table of v1's permission names and their v2 codes, and of v1's menu paths, is on v1's access in the migration.