-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Redmine Groups API is restricted to admin users #1
Comments
I believe that is a problem that needs to be solved on the Redmine side. :( There is no API key in the deployment. The tool works with a key that is provided by the caller and otherwise configuration- and state-less. |
I've put that as "help wanted" - but the help must be applied to Redmine or another method for accessing the groups be found. |
I still think that limitation should be commented in the code or in somewhere else in the interface. Otherwise users of the service won't notice issues that are assigned to their groups. Especially when exclusively using this service to interact with the issue tracker. |
I'm still thinking how to do this. The RedmineActionablesCollector is tied to Redmine, obviously. But the result is not and the only reference to Redmine is the URI field in the header. I might add a comment (or even warning?) saying that groups are broken for Redmine, other than that a Redmine-specific effect on the Result would break the API. |
First step on the Redmine side: https://www.redmine.org/issues/12795 |
This might be due to missing groups in the API result if the user does not have administrative rights. #1
This helps with the problem in penguineer/RedmineActionablesCollector#1
This problem is partially solved in https://github.com/penguineer/RedmineActionablesCollector/releases/tag/v0.2.0 and https://github.com/penguineer/ActionablesWeb/releases/tag/v0.3.0 For a complete solution changes to the Redmine API are necessary. |
Checking for the API-Tokens users groups returns an empty list unless the current user has Admin rights on the corresponding Redmine server.
RedmineActionablesCollector/app.py
Line 148 in 1c2e022
Redmine API docs: https://www.redmine.org/projects/redmine/wiki/Rest_Groups
The only solution for that problem i can think of is putting a valid api token with admin rights into the deployment. This is obviously not a good one.
The text was updated successfully, but these errors were encountered: