Phase 12, part 5: roles from the Core's groups
Settings → Sign-in: roles follow the Core's groups, with a prefix. <prefix>-admins makes an admin, <prefix>-<module> edits a module, <prefix>-<module>-view reads it. Set at each sign-in with the Core; someone in a group joins; the owner never changes; someone in none of them keeps the access set here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,9 @@
|
||||
<label class="check"><input type="checkbox" name="auto_join" {{if $.Data.C.AutoJoin}}checked{{end}}> <span>Anyone with an address at <strong>{{$.Data.Domain}}</strong> may join, as a member with these modules:</span></label>
|
||||
{{template "access-fields" (dict "Role" "member" "Modules" $.Data.C.AutoModules "Grants" $.Data.Grants)}}
|
||||
<p class="help">Otherwise only people invited may sign in: matched by their email the first time, then by their account at the Core.</p>
|
||||
<label class="check"><input type="checkbox" name="groups" {{if $.Data.C.Groups}}checked{{end}}> <span>Roles follow the Core's groups</span></label>
|
||||
<label class="small">Groups' prefix <input name="group_prefix" value="{{$.Data.C.GroupPrefix}}" placeholder="supermarket" size="16"></label>
|
||||
<p class="help">In Authelia's users, <code>{{$.Data.Prefix}}-admins</code> makes an admin; <code>{{$.Data.Prefix}}-<em>module</em></code> lets someone edit a module, and <code>{{$.Data.Prefix}}-<em>module</em>-view</code> read it ({{range $i, $g := $.Data.Grants}}{{if $i}}, {{end}}<code>{{$g.ID}}</code>{{end}}). Each time someone signs in with the Core, their role and modules are set from their groups, and someone not yet in the team who is in one joins (if there's a seat free). The owner is never changed; someone in none of these groups keeps the access set here.</p>
|
||||
<button type="submit">Save</button>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user