-
Notifications
You must be signed in to change notification settings - Fork 72
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
Polls 5.4.0-beta5 released (12-10-2023) #3107
Comments
Since revoking a share first came with another intention and it turned into a function to switch shares into a read-only mode. Consequences of revoking a share
Possible solutions:
Anyone with suggestions? |
I feel like that your suggested solutions shouldn't be an "either or", but both. I agree that "revoking" might be a bit confusing, at first glance I'd assume that "revoking" is synonymous to "deleting" a share, from what I'd rather expect that the sharee looses full access. Thus I think that renaming this to "read only" or similar is best. Some alternative names I can think of are "enabled/disabled share", "limited share", or straight "close poll for participant" - but I can't really claim that I feel like one or the another is truly best. Independently, some explicit information for the sharee that the poll wasn't closed yet, but just that his share has been limited, is desirable no matter what. |
Another naming idea I just had is "active/inactive share" (to be more precise: "active/inactive" to describe the state, "enable/disable" to describe the action). I still don't feel like that one alternative is truly better than the other, but my gut votes for "active/inactive share". This also made me thinking whether we could also make public shares active/inactive - and came to a "Why not?" conclusion. For a public link to become "inactive" the only (visible) thing we need to do is that no name/email modal pops up - the public link itself already is read-only. Besides public shares, are there any other share types that don't support revocation / access limitation yet? Another, but strongly related suggestion: When the poll is closed all shares should be listed as "inactive", again strengthening the connection to closed polls (I don't mean that they should be set inactive/revoked in the database, they should just be shown in the list like if they were). Edit: Just noticed that email shares (or any single user vote?) without a vote can't be revoked. Why is that? |
@PhrozenByte Thanks for your sparrings.
They were not meant as alternatives. 😆
The idea was, that unvoted shares should be deleted right away instead of revoking them. But the effort for exxplaining this idea will cost more than the possibility to revoke shares whatever state they have could cause harm. To be honest: Which harm cane be made???
The restrictions intentionally applied only to public shares. But I was wondering if this restriction is necessary in any way. Spoiler: no. Conclusions:
Revoking of a share instead of deleting will come back in another pr to replace the deletion counter, which is ugly IMHO.
|
Ah, "locked share", why didn't I think of that? So obvious 🙈 Yeah, that's the best one 👍 I truly don't have anything to add, this sounds just perfect. Great work, thank you! 👍 |
Just coincidentally noticed that the term "revoke" was still used at some place, so I quickly searched through the code and there are some more usages left:
|
I think you looked into an outdated commit. Check the current master. Lines 101 to 103 in c651f1c
|
Ah. f**k. no I forgot the api endpoints. And searching for |
@PhrozenByte Honestly a million thanks for your effort and review. Feeling lonely here sometimes. 😉 Beta6 is going to be build and out in minutes. |
You're very welcome! I know the feeling sometimes 🙈 You're doing an amazing job here! ❤️ Thanks for beta 6 and rc 1, all work like a charm. As promised I gave some feedback about the new feature in #3099 (comment). |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Changelog for the upcomming release (preview)
Fixes
New
Changes
Downloads
Overview and changelog: https://github.com/nextcloud/polls/releases/tag/v5.4.0-beta5
Download ZIP: https://github.com/nextcloud/polls/releases/download/v5.4.0-beta5/polls-5.4.0-beta5.zip
Download TAR.GZ: https://github.com/nextcloud/polls/releases/download/v5.4.0-beta5/polls-5.4.0-beta5.tar.gz
The text was updated successfully, but these errors were encountered: