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

Feature/UsersRoles #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Feature/UsersRoles #10

wants to merge 5 commits into from

Conversation

pdiniz13
Copy link

I didn't want sessions to expire for specific user roles so I had to add this usersRoles option. This might be a useful feature for other users so I decided to submit as a pull request. The user roles will default to null if its not provided so it shouldn't affect your other users.

You can now specify which users you do not want the sessions to expire for.

@jeffpatzer
Copy link

+1

@lindleycb
Copy link
Owner

Not sure how I missed this when it was first posted. I've got a lot of work on at the minute but will try to get a moment to look into this. I was thinking it might be possible to put in a more general mechanism to register a callback that could veto the decision in a user definable way i.e. not just on user roles but on any criteria you chose.

@jeffpatzer
Copy link

A callback would certainly be a good logical step. I definitely like the idea of being able to define things based on any "criteria" 👍

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

Successfully merging this pull request may close these issues.

3 participants