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

Users permissions disappearance #842

Closed
Adzouz opened this issue Mar 25, 2018 · 3 comments
Closed

Users permissions disappearance #842

Adzouz opened this issue Mar 25, 2018 · 3 comments
Assignees
Labels
issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product status: duplicate Is a duplicate of another issue

Comments

@Adzouz
Copy link

Adzouz commented Mar 25, 2018

Node.js version:
8.9.3
npm version:
5.5.1
Strapi version:
3.0.0-alpha.11.1
Operating system:
MacOS 10.13.3

Do you want to request a feature or report a bug?
bug

What is the current behavior?
Sometimes, users permissions disappear for no reason. All checkboxes are unchecked and we have to start to do the configuration all over again. And sometimes, even when we recheck all the boxes, nothing happen when we save new permissions.

If the current behavior is a bug, please provide the steps to reproduce the problem
I have to admit that I didn't understand yet why this behaviour is happening but you are already aware of this issue. Maybe someone could give us more details in this thread.

What is the expected behavior?
We should keep users permissions

@lauriejim lauriejim added type: documentation 📖 severity: medium If it breaks the basic use of the product but can be worked around labels Mar 27, 2018
@lauriejim
Copy link
Contributor

Hi @TheWebsDoor .

The checkbox select all is a little bit buggy so try to don't use it.

And about this issue, we have to found steps to reproduce it ...

@lauriejim lauriejim added issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product status: need more informations 🤔 and removed type: documentation 📖 severity: medium If it breaks the basic use of the product but can be worked around labels Mar 27, 2018
@nurikabe
Copy link
Contributor

I've experienced loss of user permissions as well. It seems to occur somewhat routinely in the following case:

  1. Work on a model with "auto server reload" active
  2. If there is a crash while editing a model, the server fails to auto reload
  3. Forcibly reload the server and in many cases user permissions have been lost

My guess is that Strapi may be (needlessly?) cascade re-persisting user permissions when models for other data types are changed. Perhaps permissions get wiped out when the there is a problem saving the data that triggered user permissions to also update.

@lauriejim
Copy link
Contributor

I close this issue, it' a duplicate of this one: #736

@lauriejim lauriejim added status: duplicate Is a duplicate of another issue and removed status: need more informations 🤔 labels Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: high If it breaks the basic use of the product status: duplicate Is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants