Conversation
Some design update
+ disparition de l'option si ce n'est pas un admin + Ajout de la page de gestion des utilisateurs (Accepter / refuser les nouveaux)
BrokenSwing
left a comment
There was a problem hiding this comment.
Lots of things to modify / rework. Do not hesitate to use Buefy components for tables
components/NewUser.vue
Outdated
| methods: { | ||
| accept () { | ||
| console.log(this.mail); | ||
| if (confirm("Vous êtes sur le point de valider " + this.firstName + " " + this.lastName + "\n Voulez-vous confirmer ?")) { |
There was a problem hiding this comment.
confirm ? Really ? Actually I would suggest a checkable table https://buefy.org/documentation/table#checkable that allows to batch acceptation/removal. Take this comment as a global comment on NewUser.vue and BuilderNewUser.vue
There was a problem hiding this comment.
Otherwise, an other solution is to keep your first setup and use https://buefy.org/documentation/dialog/#confirm instead of native JS confirm
| :validator='lastNameValidator' | ||
| required | ||
| /> | ||
|
|
There was a problem hiding this comment.
We also want to know it's specialty (name and year), and BDE (assume BDE is Montpellier)
| }; | ||
| }, | ||
| methods: { | ||
| checkUserRoles(usersRoles) { |
There was a problem hiding this comment.
If defined, you should use it
Admin can select multiple users to validate them. Usage of the buefy technology
Adding the part of the management for the new account