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
16 days ago
16 days ago
#1
16 days ago
#2
Hi,
DC here. At the moment, I'm restricting Grady to just the 'News' forum and the documentation forum. I'm gonna refrain from having it doing general web development tasks for now.
I hope that's okay.
DC
DC here. At the moment, I'm restricting Grady to just the 'News' forum and the documentation forum. I'm gonna refrain from having it doing general web development tasks for now.
I hope that's okay.
DC
16 days ago
#3
All good, it was worth a try :)
16 days ago
#4
Do you know what? I built one today for myself.
If you can give me some time to battle test it - say a week or so then I'll be happy to just give you it.
Cool?
If you can give me some time to battle test it - say a week or so then I'll be happy to just give you it.
Cool?
16 days ago
#5
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.