Rust Mysql permissions

Discussion in 'Plugin Requests' started by slavaboda, Jun 16, 2018.

  1. I am thinking of something similar to what I used on unturned. MYSQL permissions plugin which replaces original oxide permission system and put it into mysql database. For example:

    4 tables (groups, permissions, members and temporary members).

    All groups would be listed in "groups" table (ex.: default, vip, xxx)
    Permissions in "permissions" table (ex.: kit.xxx for vip group, kit.zzz for default group)
    Members (steam id + group id)
    Temporary members (steam id + group id + expiration date)

    So my question is: is it possible to do something like that?
     
  2. This is on the Oxide TODO. However the structure you suggested is quite poor IMO.

    Temporary members should not be dealt with via Oxide, should be dealt with by a plugin using library methods.

    It is possible but would require loads of testing to ensure a smooth data transition occurs, huge planning to make sure the structure is efficient for performance and any future plans Oxide may have, etc.

    You'd most importantly have to find a skilled and talented developer to achieve this and have enough motivation/time to maintain this code during its transition.
     
  3. Wulf

    Wulf Community Admin

    SQLite, not MySQL.
     
  4. I thought both were on the agenda? :)
     
  5. Well, it would be nice to have mysql too. Would help with syncing between servers. Also. would be much easier to adapt donation system etc.