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

Cannot install apps as 'admin' #1832

Closed
dizzzz opened this issue Apr 15, 2018 · 6 comments
Closed

Cannot install apps as 'admin' #1832

dizzzz opened this issue Apr 15, 2018 · 6 comments
Labels
bug issue confirmed as bug high prio investigate issues being looked at
Milestone

Comments

@dizzzz
Copy link
Member

dizzzz commented Apr 15, 2018

What is the problem

When attempting to install a XAR file via the package manager, the message "Permission Denied. You must be member of the dba group"

dashboard

What did you expect

Being admin, install should be no problem installing a XAR

Describe how to reproduce or add a test

  • clean clone, build, start db
  • open package manager, try to install e.g. the documentation app.

Context information

  • eXist-db version : 4.1-snapshot // b66fade
  • Java version (e.g. Java8u121) : java8U161
  • Operating system (Windows 7, Linux, MacOs) : macOS
  • 32 or 64 bit : 64 bit
  • Any custom changes in e.g. conf.xml : none
@dizzzz dizzzz added bug issue confirmed as bug investigate issues being looked at high prio labels Apr 15, 2018
@dizzzz dizzzz added this to the eXist-4.1.0 milestone Apr 15, 2018
@joewiz
Copy link
Member

joewiz commented Apr 15, 2018

When you opened the package manager, you were prompted to authenticate. Could you specify whether you checked the "remember me" box or not? And could you try the opposite option and see if that avoids the permission denied error?

@dizzzz
Copy link
Member Author

dizzzz commented Apr 15, 2018

yes I checked the remember-me box. if I'd not select, the package manager does not open at all :-(

(this is a second serious issue)

@joewiz
Copy link
Member

joewiz commented Apr 15, 2018

I can reproduce this error if I check the remember me box. But if I leave the remember me box unchecked, the package manager does open for me and lets me install apps. Could you log out from Dashboard, click on Package Manager, enter your credentials without checking the remember me box, and see if you're able to install packages? This works for me.

@dizzzz
Copy link
Member Author

dizzzz commented Apr 15, 2018

thnx @joewiz you are right !

@joewiz
Copy link
Member

joewiz commented Apr 15, 2018

@JoernT Is there any reason you can think of that we should keep the "remember me" checkbox in the "classic" dashboard? It seems to me to only cause problems such as @dizzzz identified here. Shall I remove it and re-release?

@joewiz
Copy link
Member

joewiz commented Apr 15, 2018

@JoernT @dizzzz I've submitted a PR implementing this workaround to the problem (originally reported in eXist-db/dashboard#44), for your review: eXist-db/dashboard#64. If you review and merge this, I'd be happy to prepare a new release for inclusion in eXist 4.1.0.

@joewiz joewiz closed this as completed Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue confirmed as bug high prio investigate issues being looked at
Projects
None yet
Development

No branches or pull requests

2 participants