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
Bug when adding yourself as a friend #293
Comments
Thanks for reporting.
|
Sounds related to solid/specification#67 |
NSS and CSS have implemented Owner to avoid lockout: |
Good night: |
You shall check that you are not your own freiend
You can repair this by editing the folder permissions. An owner can change all ACL resources in the pod even when he has no explicit |
Yeah, I know, but in that case we ended, we added ourselves as a friend by mistake, and also, we gave us permissions so it kind of broke everything and we weren't able to access our folder or either repair it. We are commenting this, just in case its not working as it should, but as I've said, maybe it was a mistake of ours... |
To help you more or see if something is wrong you need to give some real information. Like a link to the folder. Which server you are using. Without this we cannot do anything not even trying to reproduce or resolve an issue. |
Description
My teammate, @uo284373, and I had to delete our account due to a problem we encountered while managing permissions for our Software Architecture course teamwork at UNIOVI. We were implementing a "friends" feature where users could read from each other's POD. To access another user's POD, you need their permission. We added the functionality to give and remove permissions, but we faced a serious problem.
Problem
We accidentally added ourselves as friends, and then removed our own permission to read from our POD, specifically our private folder. Unfortunately, we were unable to restore the permission later, which resulted in us having to delete our accounts and create new ones.
It's possible that we made a mistake, or maybe we misused SOLID PODs. Regardless, I wanted to share our experience in case others have encountered a similar issue.
Possible fix
To avoid this error, users should not be able to add themselves as friends, cause I don't see any benefits to adding yourself as a friend, but I've said before, I could be mistaken.
The text was updated successfully, but these errors were encountered: