Bug: Archive channel missing from dropdown menu
Summary
Archive channel option is missing from the dropdown menu when you right-click a channel. I’ve tried every combination - joining channel, leaving channel, private/not private, etc. and Archive channel still doesn’t show up. Pretty sure this was working a couple days ago.
Steps to reproduce:
- Navigate to “Channels”.
- Right-click any channel.
Archive channeldoes not appear on dropdown menu.
Connected to Huly®: UBERF-9246
Channel archiving is not available to everyone, you need to be the creator of the channel or the owner of the workspace
Kristina Fefelova This is from the creator + owner of the workspace, and actually I just checked a couple other workspaces I created, and this issue is only occurring on one workspace (innovatedesigns). I also tried giving Owner permissions to another user in the workspace and they aren’t able to see the Archive channel option either.
Abigail Dawson Archiving in the platform is based on RBAC (if not overwritten for chats specifically). If that’s the case in order to see this action you’d need to be either of the following:
- Spaces’ admin
- This channel owner
- Assigned to a role that grants you “Archive spaces“ permission
Alexey Zinovyev so under Settings > Spaces I don’t have anyone selected for Admin (this is the default setting from when I created the workspace, even as the workspace owner I am not listed as the Spaces Admin unless I manually add myself), yet I can see archive options everywhere across the workspace except chat channels.
Could it be because this is the #random channel which was already in the workspace when I created it? I just checked another workspace and found that I also don’t see Archive for the #random channel there
Abigail Dawson I think for most of the spaces which are automatically created by the system the creator of the workspace is automatically added as a space owner. But apparently not for general/random channels. That’d explain why you can archive them not being a Spaces → Admin.
If you add yourself as a Spaces → Admin does it start showing the archive option in the menu for general/random channels?
Yeah that worked!! Thanks!
will add it to the Huly Docs 😁
I proposed a fix for this in Platform-Collective/platform#105, the actively maintained continuation of this codebase.