Skip to content

SYN-6274: auth command to set a user's admin status on a gate #3391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 23, 2023

Conversation

MichaelSquires
Copy link
Contributor

@MichaelSquires MichaelSquires commented Oct 18, 2023

feat: Add --gate <iden> option to auth.user.mod storm command to set user's admin status on a gate.
test: Update tests to exercise auth.user.mod --gate ... command.

feat: Add `auth.gate.admin` storm command to toggle user's admin status on a gate.
test: Update tests to exercise `auth.gate.admin` command.
doc: Update docs to include `auth.gate.admin` command.
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (11c115b) 97.32% compared to head (bec7976) 97.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3391      +/-   ##
==========================================
- Coverage   97.32%   97.23%   -0.10%     
==========================================
  Files         231      231              
  Lines       47040    47040              
==========================================
- Hits        45783    45737      -46     
- Misses       1257     1303      +46     
Flag Coverage Δ
linux 97.23% <ø> (+<0.01%) ⬆️
linux_replay ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
synapse/lib/stormlib/auth.py 100.00% <ø> (ø)

... and 9 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@invisig0th invisig0th merged commit d712ba0 into master Oct 23, 2023
@invisig0th invisig0th deleted the blackout/SYN-6274/auth-gate-admin-cmd branch October 23, 2023 22:19
@vEpiphyte vEpiphyte added this to the v2.15x.x milestone Oct 26, 2023
@vEpiphyte vEpiphyte added reqChangelog requires changelog and removed reqChangelog requires changelog labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants