This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Repository navigation
Add third_party module callbacks to check if a user can delete a room and deactivate a user #12028
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d05140a
Add check_can_deactivate_user
Half-Shot 357542c
Add check_can_shutdown_rooms
Half-Shot 5884cb5
Documentation
Half-Shot 19364df
callbacks, not functions
Half-Shot 6d89207
Various suggested tweaks
Half-Shot 23fd920
Merge remote-tracking branch 'origin/develop' into hs/admin-api-delet…
Half-Shot e66329f
Add tests for test_check_can_shutdown_room and test_check_can_deactiv…
Half-Shot 6c439bb
Update check_can_deactivate_user to not take a Requester
Half-Shot c2ce996
Fix check_can_shutdown_room docs
Half-Shot c64b955
Renegade and use `by_admin` instead of `admin_user_id`
Half-Shot a3c2667
fix lint
Half-Shot e72024b
Update docs/modules/third_party_rules_callbacks.md
Half-Shot 98a05d0
Update docs/modules/third_party_rules_callbacks.md
Half-Shot f924cf1
Update docs/modules/third_party_rules_callbacks.md
Half-Shot 68c068a
Update docs/modules/third_party_rules_callbacks.md
Half-Shot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add third-party rules rules callbacks `check_can_shutdown_room` and `check_can_deactivate_user`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.