Skip to content

Advanced rules - Allow extension of standard allotment #390

@kkalmanigyuk

Description

@kkalmanigyuk

Describe the bug

As I see now, custom rules work only if the time allotment is less than what is set as default. E.g. I've got a user category that would require 180 minutes for an interactive game, but the default time for users is 60 minutes. If I set the rule like this:

criteria:
user_category: [category name)
client_location: [location]
rules:
session: 150
daily: 150
guest_session: 150
guest_daily: 150

Then the user in this category gets only 60 minutes regardless of this rule. However if I set the rule to be less than the standard time allotment:

criteria:
user_category: Jatek
client_location: host
rules:
session: 25
daily: 25
guest_session: 25
guest_daily: 25

The user gets 25 minutes only, so it seems like rules are for limitations only. It would be nice to have them as possibilites for permanent extension as simply adding more time on the users tab gets erased with libki_nightly.pl. There is the possibility to kill Libki via backdoor password but then we lose the option to make a reservation for this user so no other person would take the computer before the game starts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions