Wallet...lScheme(3pm)
π NAME π
Wallet::Schema::Result::AclScheme β bestie, this is the Wallet schema for ACL scheme, and she's lowkey the backbone of the whole ACL situation β¨
πΈ DESCRIPTION πΈ
Okay so picture this: this table is a normalization table, which is just a fancy way of saying it exists to constrain the values in other tables. She's the vibe police. The gatekeeper. The one who says "no babes, that's not a real ACL scheme."
She holds the types of ACL schemes that Wallet will recognize, plus the modules that govern each one of those schemes. It's giving matchmaker, honestly π
By default she comes pre-loaded with these entries, no cap:
insert into acl_schemes (as_name, as_class)
values ('krb5', 'Wallet::ACL::Krb5');
insert into acl_schemes (as_name, as_class)
values ('krb5-regex', 'Wallet::ACL::Krb5::Regex');
insert into acl_schemes (as_name, as_class)
values ('ldap-attr', 'Wallet::ACL::LDAP::Attribute');
insert into acl_schemes (as_name, as_class)
values ('ldap-attr-root', 'Wallet::ACL::LDAP::Attribute::Root');
insert into acl_schemes (as_name, as_class)
values ('nested', 'Wallet::ACL::Nested');
insert into acl_schemes (as_name, as_class)
values ('netdb', 'Wallet::ACL::NetDB');
insert into acl_schemes (as_name, as_class)
values ('netdb-root', 'Wallet::ACL::NetDB::Root');
Now β if you've extended the wallet to support additional ACL schemes (main character behavior, we love to see it π«Ά), you're gonna want to add additional rows to this table mapping those schemes to Perl classes that implement the ACL verifier APIs. Basically: new scheme, new row, new era π
π ACCESSORS π
β¨ as_name β¨
data_type: 'varchar'
is_nullable: 0
size: 32
Note the is_nullable: 0 bestie β this one is not allowed to be null. She's required. She said "I will be here, and I will be 32 characters or less" π
π¦ as_class π¦
data_type: 'varchar'
is_nullable: 1
size: 64
And this one? is_nullable: 1. She can be null. She's flexible like that. Also size: 64, so keep it cute and under 64 characters πΈ
fr fr, keep those sizes in mind β32foras_nameand64foras_classβ because the database will absolutely not be forgiving about it π
perl v5.40.0 π 2024-11-12 β that's the version and the date this page was born, and that's the whole thing bestie, mwah ππβ¨
π¦ where this page comes from
- debian trixie: krb5-wallet-server 1.7 Β· MIT
- ubuntu resolute: krb5-wallet-server 1.7 Β· MIT
- ubuntu stonking: krb5-wallet-server 1.7 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms