tech5usa / TLSential

A server for providing short-lived TLS certificates to all services within a firewall restricted network.
GNU General Public License v3.0
15 stars 2 forks source link

Add ALL THE USER UI #90

Closed d1str0 closed 4 years ago

d1str0 commented 4 years ago

Context

Previously no User UI

Approach

Copy/paste cert UI and rename shit to "User"

Testing

Login, make new users, delete said users, edit said users, login as them, have your way with them.

Misc.

Currently Roles are mostly pointless from the UI. They do however take effect in API calls. No validation on Roles at this time.

todo[bot] commented 4 years ago

Validate role in create UI

https://github.com/ImageWare/TLSential/blob/3ab26f626363199ca721dc84e446b12de0ba7132/ui/user.go#L54-L59


This comment was generated by todo based on a TODO comment in 3ab26f626363199ca721dc84e446b12de0ba7132 in #90. cc @ImageWare.
todo[bot] commented 4 years ago

Validate password in create UI

https://github.com/ImageWare/TLSential/blob/3ab26f626363199ca721dc84e446b12de0ba7132/ui/user.go#L55-L60


This comment was generated by todo based on a TODO comment in 3ab26f626363199ca721dc84e446b12de0ba7132 in #90. cc @ImageWare.
todo[bot] commented 4 years ago

Validate this is a valid role and can be created by someone

https://github.com/ImageWare/TLSential/blob/3ab26f626363199ca721dc84e446b12de0ba7132/ui/user.go#L154-L159


This comment was generated by todo based on a TODO comment in 3ab26f626363199ca721dc84e446b12de0ba7132 in #90. cc @ImageWare.
debus commented 4 years ago

So is there a plan to validate actions through the UI based on roles the same way that it is validated through the REST api calls?

d1str0 commented 4 years ago

That's the plan, yes, it just hasn't been implemented. It would also be nice to have a drop down of roles you can assign etc.