Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Use MOD skill to enable MOD check in #53

Open
jschrempp opened this issue Sep 7, 2023 · 1 comment
Open

ENH: Use MOD skill to enable MOD check in #53

jschrempp opened this issue Sep 7, 2023 · 1 comment

Comments

@jschrempp
Copy link
Member

Today the MOD permission has to be granted by SQL access to the FDB. This means only a DBA can grant MOD permission.

We could create a skill in Amilia called "RFID: MOD". When a user taps in the firmware gets their skill list from Amilia. It could pass skills to the FDB with the call to checkin/out and the FDB could update the MOD_Eligible flag in the clientInfo table.

With this change, any Amilia administrator with access to Skills could change the MOD permission.

(Additionally, we use the display_classes field in the FDB to decide how to decorate a person's div in the checkin screen - for example, "staff" results in a magenta border. We could use Amilia Skills to set this field too.)

@BobGlicksman
Copy link
Collaborator

I wonder if too many admins have the ability to add skills for this to work. I wonder if we can somehow create a limited permission group in Amilia so that only the head MOD, the ED and perhaps one or two others could edit the MOD eligible list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants