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

[BUG] Unable to login with User role, Dashboard not seen. #153

Closed
1 of 2 tasks
basavarajvs opened this issue Feb 19, 2019 · 3 comments
Closed
1 of 2 tasks

[BUG] Unable to login with User role, Dashboard not seen. #153

basavarajvs opened this issue Feb 19, 2019 · 3 comments

Comments

@basavarajvs
Copy link

basavarajvs commented Feb 19, 2019

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:
Unable to login with user created with User role.

What did you expect to happen:
Login should be possible for users with any role.

How to reproduce it (as minimally and precisely as possible):

  1. Login as Admin
  2. Create a new user and assign role as User.
  3. Logout Admin
  4. Login with newly created user credentials
  5. The URL redirects to the dashboard and does not proceed further.
    The dashboard is not visible.

Anything else we need to know?:
After changing the new user's role to Admin the newly created user is able to login with credentials

Environment:

  • Trudesk Version:1.0.7-beta
  • OS (e.g. from /etc/os-release): OS-X
  • Node.JS Version:
  • MongoDB Version:
  • Is this hosted on cloud.trudesk.io: No
@polonel polonel changed the title Unable to login with User role, Dashboard not seen. [Bug] Unable to login with User role, Dashboard not seen. Feb 19, 2019
@polonel polonel changed the title [Bug] Unable to login with User role, Dashboard not seen. [BUG] Unable to login with User role, Dashboard not seen. Feb 19, 2019
@polonel
Copy link
Owner

polonel commented Feb 19, 2019

I can confirm this is an issue. Working on a solution

@polonel
Copy link
Owner

polonel commented Feb 20, 2019

I want to clarify. I removed the dashboard from users a while back due to the data displayed in the dashboard is global. (Users would see stats from the entire system)

This is a flaw that will be addressed after the agent system is done. It will allow me to load customized data based on the teams the agent is assigned to. And the dashboard for users would show for their respected Customer Groups.

I have fixed the login issue for users but as it was previously, users will be redirected to the tickets view.

@basavarajvs
Copy link
Author

Tested and is fixed.

@polonel polonel removed the review label Feb 25, 2019
polonel added a commit that referenced this issue Mar 12, 2019
## [1.0.7](v1.0.6...v1.0.7) (2019-03-12)

### Bug Fixes

* **accounts:** missing account creation modal [#152](#152) ([b2cbbda](b2cbbda))
* **app:** app.js for universal config ([a318545](a318545))
* **app:** callback failed if mailcheck was enabled ([1520ad5](1520ad5))
* **build:** incorrect import dep ([a180497](a180497))
* **chat:** removed self from online user list ([de3a596](de3a596))
* **component:** easymde handle defaultValue ([b33eb44](b33eb44))
* **components:** button display incorrectly when width is set ([1693421](1693421))
* **debug:** populate db with new role permissions ([2bc5ca6](2bc5ca6))
* **docker:** env var ([ffe26b4](ffe26b4))
* **docker:** universal config ([a338f3a](a338f3a))
* **docker:** universal config ([35acf04](35acf04))
* **images:** profile images not displaying in new email templats ([e89f2f8](e89f2f8))
* **install:** crash ([4199e03](4199e03))
* **migration:** crash if certain role types didn't exist ([39dfaa2](39dfaa2))
* **mobile:** loading issue ([54c2cdd](54c2cdd))
* **mobile:** mobile was showing blank view ([b8b6e3e](b8b6e3e))
* **notifications:** issue with push notification during ticket creation ([77dac9a](77dac9a))
* **permissions:** default user role unable to login correctly [#153](#153) ([1b1cec1](1b1cec1))
* **permissions:** disabled accounts showing in assignee list ([ebe6504](ebe6504))
* **permissions:** groups nav incorrectly showing ([65d8fe9](65d8fe9))
* **permissions:** incorrect permissions on edit ticket ([4a75aed](4a75aed))
* **permissions:** missing add comment button ([c512b8d](c512b8d))
* **permissions:** roles allowed to edit ticket after socket update ([1f529f8](1f529f8))
* package.json to reduce vulnerabilities ([025136c](025136c))
* **react:** multiple renders ([1a9cb7b](1a9cb7b))
* **sidebar:** incorrect style on active item ([df338b6](df338b6))
* **sidebar:** overlapping page content [#151](#151) ([20235f7](20235f7))
* **test:** updates for role permissions ([7a0479d](7a0479d))
* **ticket:** editing subject disappearing ([53e62d7](53e62d7))
* **ui:** bug displaying view all notifications ([61e4bca](61e4bca))
* **ui:** grid not resizing correctly ([235c960](235c960))

### Performance Improvements

* **code:** cleanup ([362c4f3](362c4f3))
* **restore:** flushRoles on successful restore ([7b44537](7b44537))
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