Python Django Create Users With roles on what they can see? -
hello have make normal users email verification , special_users can accept user did apply demand form this:
user form after registration (super_user cant see form)
the special user in other hand see list of applicants(users)(note many special_users) , normal users cant see list, because theirs acces restricted here
now if special_user click on name, sort or search fields, in end can view user application form new user did apply for, , special user have posibility accept, if accepts user no longer on list of applications visible on list of super_user.
other restrictions: if user did make registration email, wants make double account apply again cant apply time super_user didnt accept application form
a user can blacklisted reason: 1) not person 2) bad neighbour
what try index.html login , same index if logout.html if login granted users have content depending on roles are. if can help, use pycharm jetbrains, new django have big experience in python
Comments
Post a Comment