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

Tools > File Editor should give more descriptive error messages #4333

Open
moorscode opened this issue Apr 8, 2016 · 0 comments
Open

Tools > File Editor should give more descriptive error messages #4333

moorscode opened this issue Apr 8, 2016 · 0 comments
Labels
component: best practices component: file editor All issues related to interaction with files on the filesystem, like robots.txt and .htaccess featurerequest good first issue

Comments

@moorscode
Copy link
Contributor

What did you expect to happen?

Have the file editor tell me I don't have the right privileges / rights to edit the file.

What happened instead?

Tells me I 'cannot create' the file.

How can we reproduce this behavior?

Log in on a user without edit_files permissions and go to the Tools > File Editor page.

Suggested solution

If the current user doesn't have the rights, make it clear that that's the problem.
If the file cannot be written because of a Filesystem problem, notify the user of that as well (this is currently not implemented at all).

@Djennez Djennez added the component: file editor All issues related to interaction with files on the filesystem, like robots.txt and .htaccess label Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: best practices component: file editor All issues related to interaction with files on the filesystem, like robots.txt and .htaccess featurerequest good first issue
Projects
None yet
Development

No branches or pull requests

5 participants