Commit Graph

7 Commits (master)

Author SHA1 Message Date
mckaygerhard 7aad294b99 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.
* wrongly invoked register_on_authplayer over 5.0+ engines
* fix engine detection for 5.4 due callbacks handler
2023-06-16 00:00:55 -04:00
mckaygerhard ef47f6c97a 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
* reduce default privilegies if do not retrieve from config to minimal
  cos thi is subnasa
* backported 2aef6adf19
* backported 2aef6adf19
2023-06-15 23:57:23 -04:00
mckaygerhard cac0e7f38c hard strong media files optimization for png textures
* use the less colors possible, subnasa its not focused on hi-res
  its focused on playing
2023-06-11 03:32:32 -04:00
mckaygerhard 7b4df32b60 auth_rx - fix crash when load locally and host server from gui, fix nil permissions
* backported b79404f7fa
* backported b79404f7fa
2023-06-11 03:15:31 -04:00
mckaygerhard 491c425d08 auth_rx mod - update with compatibility fixeds the auth handler 2023-06-09 01:50:29 -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