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

RESTful API - Some bugs #202

Closed
johnnyrlq opened this issue Jun 24, 2015 · 3 comments
Closed

RESTful API - Some bugs #202

johnnyrlq opened this issue Jun 24, 2015 · 3 comments

Comments

@johnnyrlq
Copy link

Hello, I am testing some features and I have some observations:

CHANGE PASSWORD (settings ->Users)

  • Modifying the password of any user logged like ADMIN (with the "Change Password" option) it works.
  • Modifying the password of any user logged like MANAGER (with the "Change Password" option) it does not work. The REMOTE CALL PROCEDURE ERROR appears.

ACCOUNT(settings->Account)

I think the users should not change their "USER" just their "PASSWORD".

QUESTION

Using the RESTful API or the webUI I can register a new user (with MANAGER privileges), but is it possible to register the user without MANAGER privileges?

Thank you for your help.

@vitalidze
Copy link
Owner

  1. Sounds like a bug

  2. This is quite subjective, I don't know which is wrong here. It's not clear to me why you should restrict user from changing the username.

  3. Right now there is no way to do this. All new users are registered with 'Manager' privilege in current implementation.

@johnnyrlq
Copy link
Author

  1. Ok

  2. I agree, is subjetive but I am thinking that when someone get into the system, have to be registered so, the primary information of the account will be the "username" field (Like "email" for Facebook or Gmail), so changing the "username" field should be restricted and if that person need another "username", he have to register again.
    Then, the logic should works better.

  3. I Undestand

@vitalidze vitalidze added the bug label Jul 6, 2015
vitalidze added a commit that referenced this issue Jul 14, 2015
@vitalidze
Copy link
Owner

Fixed 1st issue, written news, updated latest and demo versions.

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

2 participants