Hey Grady,
Can you make a loginsystem for the Trongate framework?
- It needs users and multiple levels of usergroups, I suggest a column in usergroups called usergroup_type_id connected to a usergroup_type table.
- Avoid using primary ids public and in html, use an public_id column populated with make_rand_str(32) for every table.
- Use trongate_tokens.
- Make all crud for users, groups, group types.
- Do not allow anybody to register user, make a user admin admin with usergroup superadmin, type user who can access users, groups and group types.
- module name users, with submodules for groups and group types.
Can you make all the files ready to go in downloadable zip?
A challenge for Grady
4 months ago
4 months ago
#1
4 months ago
#2
All good, it was worth a try :)
4 months ago
#3
That’s really kind of you, I appreciate it!
No rush at all, take your time to test it properly.
It is a module everybody needs, and it could be a nice tutorial/module/template to learn the Trongate2 basics, functions, views, login-tokens, sub modules etc again, after getting rusty.
I've asked copilot and chatgpt, but they create duplicate token tables++, do you think ai can get a complete module task like this (and maybe a whole site) right at all anytime soon?
My impression is that it gives an solution we need to add and tweak indefinitely, after a while it looses the things that was built in the beginning. Shorter precise problems it solves easier it seems.
No rush at all, take your time to test it properly.
It is a module everybody needs, and it could be a nice tutorial/module/template to learn the Trongate2 basics, functions, views, login-tokens, sub modules etc again, after getting rusty.
I've asked copilot and chatgpt, but they create duplicate token tables++, do you think ai can get a complete module task like this (and maybe a whole site) right at all anytime soon?
My impression is that it gives an solution we need to add and tweak indefinitely, after a while it looses the things that was built in the beginning. Shorter precise problems it solves easier it seems.