Skip to content

"My public keys" for old users: link (with subpath) not correct AND for new users: link not shown #381

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

Closed
nicesw123 opened this issue Mar 12, 2015 · 3 comments
Assignees

Comments

@nicesw123
Copy link

Hi there,

I've installed Git Hosting Plugin 1.0.1 on Redmine 2.6.2.

For old users, accessing "My account" shows:
"My public keys", but the link is not correct:
https://site/my/public_keys

For my setup the link should be
https://site/redmine/my/public_keys -- note: I'm using a directory-path redmine there!

This is because under "Administration->Settings->General" I have
Host name and path: site/redmine

and also under "Administration->Redmine Git Hosting" I have
Hooks URL: https://site/redmine

.
.
.
.
For new users, the "My public keys" does not even appear.
If I try to access via https://site/redmine/my/public_keys I get:
"403 You are not authorized to access this page."

Is there some setting I am missing? Why is this not showing?

Thanks!

.
.
.
.
In case you are interested:

Environment:
  Redmine version                2.6.2.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux]
  Rails version                  3.2.21
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            2.1.4
  Filesystem                     
  Xitolite                       2.1.4
Redmine plugins:
  redmine_bootstrap_kit          0.2.0
  redmine_git_hosting            1.0.1
  ...
@nicesw123 nicesw123 changed the title "My public keys" for old users: link not correct AND for new users: not shown "My public keys" for old users: link (with subpath) not correct AND for new users: link not shown Mar 12, 2015
@n-rodriguez
Copy link
Contributor

Duplicate : #368
Fixed in 1.0.2.

@mqu
Copy link

mqu commented Feb 1, 2016

(resolved) : just go to admin / roles and check "Create SSH keys" for non-member, reporter, dev and Manager. By default, "Create SSH keys" option is really restrictive. Don't know why.

hello : "my public key" link is not shown for non administrator user ; the link is shown for admin users. For non admin users going to http://..../redmine/my/public_keys return 403 error.

Here is information about my system configuration :

Environment:
  Redmine version                3.2.0.stable
  Ruby version                   2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
  Rails version                  4.2.5
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            2.1.4
  Filesystem                     
  Xitolite                       2.1.4
Redmine plugins:
  redmine_bootstrap_kit          0.2.4
  redmine_git_hosting            1.2.0

@n-rodriguez
Copy link
Contributor

hello : "my public key" link is not shown for non administrator user

until the user is added to a project... This is due to how Redmine permissions work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants