nilenso/kulu-backend

The admin should have the ability to see the statuses and roles of all users in the organization

kitallis opened this issue · 3 comments

Acceptance Criteria:

  • Create a dashboard where all users with their status and roles are visible.
  • The following user statuses should be visible:
    • Invited
    • Active
    • De-activated
    • Invitation expired
  • The following user roles should be visible:
    • Admin
    • Member

Can you confirm the difference between an Admin and a Member? Admins can, in addition to uploading expenses, invite Members?

Could you please assign this issue to me?

@kitallis @dvenkatr

This is done now with
#15
nilenso/kulu-website#17

Status and Role are displayed, however doing this only for Users in the system i.e. those who have accepted an invite. Status displayed is either active or de-activated.
Displaying all status now, but we could later have a view which defaults to displaying active users with the option to display de-activated users or all together as needed.

Invited and Invitation expired don't seem to be relevant, since they don't correspond to users in the system and what we want to display here is information pertaining to them.
If we want to be tracking invites, i'll suggest having a separate ui option for that since it's semantically different. On a related note, do we want to track invites since an user with an expired token can ask for another invite instead of the admin having to monitor that.