-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for non channel admin accessing post links (#163)
* add test case for non channel admin accessing post links
- Loading branch information
1 parent
39496ec
commit 443d29e
Showing
6 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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 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 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 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,59 @@ | ||
--- | ||
# (Required) Ensure all values are filled up | ||
name: "Non-channel-admin users can use message links in private channels" | ||
status: Active | ||
priority: Normal | ||
folder: Permalink Preview | ||
authors: "@yasserfaraazkhan" | ||
team_ownership: | ||
- ICU | ||
priority_p1_to_p4: P2 - Core Functions (Do core functions work?) | ||
|
||
# (Optional) | ||
location: null | ||
component: null | ||
tags: [] | ||
labels: [] | ||
tested_by_contributor: "" | ||
|
||
# (Optional) Test type and tools | ||
cypress: null | ||
detox: null | ||
mmctl: null | ||
playwright: null | ||
rainforest: [] | ||
manual_test_environments: [] | ||
|
||
# Do not change | ||
id: 133461976 | ||
key: MM-T5526 | ||
created_on: "2024-02-07T09:00:33Z" | ||
last_updated: "2024-02-07T14:30:32Z" | ||
case_hashed: 425a66871c5d7014e897222c287b47c186d090e573b2075302e8477d9171298bbb31fbfdc7ebcf87823fc9833ffdbd71 | ||
steps_hashed: 79f1408d7f9bac8928e8ba936e65c515f5eb7201dfaea751a3e50d355100d93fd1a7f80fc74cd185c799380601fb1be8 | ||
--- | ||
|
||
<!-- (Auto-generated) Based on frontmatter's "key" and "name" --> | ||
|
||
## MM-T5526: Non-channel-admin users can use message links in private channels | ||
|
||
--- | ||
|
||
**Step 1** | ||
|
||
Preconditions: | ||
|
||
1. Ensure that the Mattermost instance is accessible. | ||
2. Make sure normal users do not have permissions to manage private channel members. | ||
3. Have at least two users available: one as the channel admin and another as a member without admin privileges. | ||
|
||
Test Steps: | ||
|
||
1. Create a private channel with the channel admin user. | ||
2. Type a message in the private channel using the channel admin user. | ||
3. Select the message posted by the channel admin user and use the "Copy Link" option. | ||
4. Paste the copied link in the same private channel. | ||
5. Add another user (non-admin) to the private channel with member permissions. | ||
6. Log into Mattermost with newly added user's account. | ||
7. Navigate to the channel and click on the message link. | ||
8. Verify that the non-admin user can access the message by clicking on the link without encountering any errors. |