Skip to content
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

Inconsistent UI when creating rooms in space I don't have permission to do so #21020

Closed
michaelkaye opened this issue Feb 10, 2022 · 2 comments
Closed
Labels

Comments

@michaelkaye
Copy link
Contributor

michaelkaye commented Feb 10, 2022

Steps to reproduce

I do not have permission to add rooms or create rooms in the given space.

When using the + by the list of rooms, i see greyed out UI for creating a room in the space:
add-denys
When using the + by the space, i do not see greyed out UI:
add-allows

Additionally, if i do click "add room to space", it takes me to "Create a room" not "add a room":
Screenshot from 2022-02-10 10-24-54
And then when i complete the operation, i get the generic "it broke":
failure

I think this second part might be related to #20222 "add room turning into create room" - but the lack of permission checks which got me into that UI at all is the core of this issue.

Outcome

What did you expect?

Consistent greyed out UI

What happened instead?

Only one of the two routes greyed out the option, and the other route took me to an error.

Operating system

Linux ubuntu

Application version

Element version: 1.10.1 Olm version: 3.2.8

How did you install the app?

No response

Homeserver

ems

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented Feb 10, 2022

Additionally, if i do click "add room to space", it takes me to "Create a room" not "add a room":

is a bug and already fixed on develop

@t3chguy
Copy link
Member

t3chguy commented Feb 10, 2022

Only one of the two routes greyed out the option, and the other route took me to an error.

This is also fixed on develop already

@t3chguy t3chguy closed this as completed Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants