Download the PHP package cryptaeve/seat-strict without Composer
On this page you can find all versions of the php package cryptaeve/seat-strict. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cryptaeve/seat-strict
More information about cryptaeve/seat-strict
Files in cryptaeve/seat-strict
Package seat-strict
Short Description Module to provide tighter enforcement of privileges on SeAT 4
License GPL-2.0-only
Informations about the package seat-strict
seat-strict
A module for SeAT that allows for enforcing ESI tokens to be up to date
Usage
This plugin allows you to remove privileges from users when they have invalid tokens for linked characters.
Once installed an audit will be performed automatically on the relevant user whenever a refresh token is deleted.
There is also the command strict:audit
which will queue jobs to audit every user. This can be run manually or I also recommend you add it to the seat scheduler.
Configuration
Plugin Enable
- Global Enable - This setting will enable or disable the entire plugin
What to Remove
- Remove Squads - Remove users from squad member lists when they have an invalid token
- Remove Mods - Remove users from squad moderator positions of squads when they have an invalid token
- Remove Squads - Remove users from squad member lists when they have an invalid token
Reason for Removal
- Invalid Token - If the user has any invalid tokens then strip their permissions
Caveats
Until changes are made to SeAT core (working on it) the behaviour with auto squads is a bit flaky, as it will be a constant battle between seat re adding the squad and this plugin removing it. Until this is resolved, you may notice increased job load as this fighting occurs.
Quick Installation
Docker Install
Open the .env file (which is most probably at /opt/seat-docker/.env) and edit the SEAT_PLUGINS variable to include the package.
Save your .env file and run docker-compose up -d to restart the stack with the new plugins as part of it. Depending on how many other plugins you also may have, this could take a while to complete.
You can monitor the installation process by running:
docker-compose logs --tail 5 -f seat-web
Blade Install
In your seat directory (By default: /var/www/seat), type the following:
And now, when you log into 'SeAT', you should see a 'SeAT Text' link on the left.
Usage Tracking
In order to get an idea of the usage of this plugin, a very simplistic form of anonymous usage tracking has been implemented.
Read more about the system in use here