Closed dapor2000 closed 9 months ago
Hello you have to create a new type of user at the database level in the appropriate table and you have to apply this change also to the class that manages users.
Furthermore, when creating / modifying / deleting the qrcode you have to manage this new type of user. The script is well designed to create new types of users including the one you asked for
Furthermore, it could be good to have "user" only be able to manage only their created QR Codes
just released 2.0 version
I thought about open my installation for more people, but then I realized that there are only admin-user-roles. So everyone is able to delete someones QR-codes.
So I like to have a user-role that can only append codes, without editing or anything else, but with a login to fight against bots. Wrong qr-code ? doesnt matter, make another one.
So i need a hint, where I should dive in the code.....