Skip to content

Feature/UsersRoles - #10

Open
pdiniz13 wants to merge 5 commits into
lindleycb:masterfrom
pdiniz13:master
Open

Feature/UsersRoles#10
pdiniz13 wants to merge 5 commits into
lindleycb:masterfrom
pdiniz13:master

Conversation

@pdiniz13

Copy link
Copy Markdown

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
Copy Markdown

+1

@lindleycb

Copy link
Copy Markdown
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
Copy Markdown

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