plutonium 0.59.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/skills/plutonium-auth/SKILL.md +7 -1
- data/CHANGELOG.md +6 -0
- data/app/assets/plutonium.css +1 -1
- data/docs/reference/auth/accounts.md +7 -0
- data/docs/reference/resource/definition.md +129 -0
- data/docs/reference/ui/forms.md +51 -21
- data/docs/superpowers/plans/2026-06-14-form-sectioning.md +917 -0
- data/docs/superpowers/plans/2026-06-14-form-sectioning.md.tasks.json +40 -0
- data/docs/superpowers/specs/2026-06-14-form-sectioning-design.md +237 -0
- data/gemfiles/rails_7.gemfile.lock +1 -1
- data/gemfiles/rails_8.0.gemfile.lock +1 -1
- data/gemfiles/rails_8.1.gemfile.lock +1 -1
- data/lib/generators/pu/rodauth/admin_generator.rb +5 -2
- data/lib/generators/pu/rodauth/migration_generator.rb +1 -1
- data/lib/generators/pu/rodauth/templates/app/interactions/resend_admin_interaction.rb.tt +18 -0
- data/lib/generators/pu/rodauth/views_generator.rb +1 -1
- data/lib/plutonium/definition/base.rb +1 -0
- data/lib/plutonium/definition/form_layout.rb +144 -0
- data/lib/plutonium/interaction/base.rb +1 -0
- data/lib/plutonium/package/engine.rb +17 -7
- data/lib/plutonium/ui/form/components/section.rb +58 -0
- data/lib/plutonium/ui/form/resource.rb +85 -7
- data/lib/plutonium/version.rb +1 -1
- data/package.json +1 -1
- data/src/css/slim_select.css +11 -2
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fa2b8cea268efcf47ef9f1d599f0899ad89c86fb63b3bc7faa8451da9ddae14
|
|
4
|
+
data.tar.gz: 4c10a0e528713d73ab87012443ac6b1032c633487cf57b231bc1d956061b6aa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fdd98d0175ac22901548a4eb9dd82b52877aaec986dad07b635999a5b2a6bcccc52cc4b3034c85c3199657cd1c8c6dc496d6a8e9463b9f7de783fc504d8aa992
|
|
7
|
+
data.tar.gz: d59318593eb59b0976fb4a15f78b7a05a83c891ff0c2fb768610ee7ed8e6073f91812a6828b43ed19503d6b906431eb6b41b11cb5f1048c39cb2e638a277c9a5
|
|
@@ -70,7 +70,7 @@ rails generate pu:rodauth:account user [options]
|
|
|
70
70
|
|
|
71
71
|
### Admin account — `pu:rodauth:admin`
|
|
72
72
|
|
|
73
|
-
Pre-configured secure admin with multi-phase login, required TOTP, recovery codes, lockout, active session tracking, audit logging, role-based access, invite
|
|
73
|
+
Pre-configured secure admin with multi-phase login, required TOTP, recovery codes, lockout, active session tracking, audit logging, role-based access, invite + resend-invite interactions, and **no public signup**.
|
|
74
74
|
|
|
75
75
|
```bash
|
|
76
76
|
rails generate pu:rodauth:admin admin
|
|
@@ -89,6 +89,12 @@ rails generate pu:rodauth:admin admin --extra-attributes=name:string,department:
|
|
|
89
89
|
enum :role, super_admin: 0, admin: 1
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
+
**Invite + resend actions.** The admin resource gets two actions:
|
|
93
|
+
- **Invite** — invite a new admin by email; they set their password via the verification link.
|
|
94
|
+
- **Resend invitation** — re-send that verification email, shown only for admins who haven't verified yet.
|
|
95
|
+
|
|
96
|
+
This is Rodauth account verification — distinct from the tenancy invitation system (see [[plutonium-tenancy]]).
|
|
97
|
+
|
|
92
98
|
Rake task for direct admin creation (namespace is `rodauth`, task name is the account name):
|
|
93
99
|
|
|
94
100
|
```bash
|