Commit Graph

8 Commits (master)

Author SHA1 Message Date
mckaygerhard 52bdddc111 auth_rx - correct handling of permissions when user is global admin
* there are two king of administrators: those that have many
  of the privilegies and the user that are pointed in config file,
  auth_rx never initialized this from zero cos always assumed
  a starting point as migration, so never need or really detect
  who are the admin of the server, cos after migration the admin
  already has previous privilegies from plain db file.
* override all the possible handlers with right detection of the
  admin user from the config file, on admin detected, no matter
  what .. give it all the (on fly) privilegies currently on server
* still a privilegied user at this commit can erase the admin
  or change the password if have also enought privilegies
* WARNING: this commit will depends of the previusly commit
  as of 2aef6adf19 for right
  admin name detection.
* fix engine detection for 5.4 due callbacks handler
* wrongly invoked register_on_authplayer over 5.0+ engines
2023-06-16 00:02:42 -04:00
mckaygerhard a6c1111c51 auth_rx - backported fix get key configuration helper access
* seems something related to syntactic sugar seems
  do not works anymore.. as i asked repect some commits
  at https://notabug.org/TenPlus1/nssm/issues/19
* backported 2aef6adf19
* backported 2aef6adf19
2023-06-15 23:42:34 -04:00
mckaygerhard 5527e9d06a opticrush texture images to reduce size media 2023-06-11 06:24:23 -04:00
mckaygerhard 3aecefc73a auth_rx - fix crash when load locally and host server from gui, fix nil permissions
* backported b79404f7fa
* backported b79404f7fa
2023-06-11 03:13:45 -04:00
mckaygerhard 7dc1729922 auth_rx mod - update with compatibility fixeds the auth handler 2023-06-09 01:47:35 -04:00
Герхард PICCORO Lenz McKAY f1889bbcfc mod - auth_rx : check if file exits before write
* backported from 48737b82a1
2022-02-14 16:23:58 -04:00
PICCORO Lenz McKAY 1c1f06fbb2 Authfilter class already init the greenlist.mt so dont try again cos will fail
* from 7cfe7d928d
2022-02-11 00:34:00 -04:00
Герхард PICCORO Lenz McKAY cfb83aab12 added authentication mod for subnasa huge manage of users as first step
* using https://codeberg.org/minenux/minetest-mod-formspecs
* using https://codeberg.org/minenux/minetest-mod-auth_rx
* changes:
** provide a way to initialize files if there is not one
   currently doe snot touch the auth.txt file neither converted
** solves: close: https://codeberg.org/minenux/minetest-mod-auth_rx/issues/6
** solved: close: https://bitbucket.org/sorcerykid/auth_rx/issues/7
** init the files when are fresh install, still do not convert from auth.txt
** player object check for problematic joins on inpcomplete auth process
** close fixed https://codeberg.org/minenux/minetest-mod-auth_rx/issues/2
** added missing depends formspecs (it work without in basics but, some commands needs)
** we will later aded formspecs checks to made optional
2022-02-10 18:19:33 -04:00