09-14-2016, 01:14 PM
Oh, and I should actually clarify, when a user does not have access, the present redirect sends them to "index.php" but depending on the context of the call, that could either be /index.php or users/index.php. However, users/index.php is where if the user is logged in, it sends them to the account.php page, and if not logged in, sends them to the login page.
All that being said, in your case, you want an "Access Denied" message when a user IS logged in, but does not have access...I like that and I think we can improve things there.
Regarding an alert that pops up, that is an alternative to a page...I like that too, so we will certainly keep that in mind for UserSpice 5. As for US 4.1.x, I can talk to @mudmin and see what he thinks about providing that in either 4.2 or in a 4.1.x release.
All that being said, in your case, you want an "Access Denied" message when a user IS logged in, but does not have access...I like that and I think we can improve things there.
Regarding an alert that pops up, that is an alternative to a page...I like that too, so we will certainly keep that in mind for UserSpice 5. As for US 4.1.x, I can talk to @mudmin and see what he thinks about providing that in either 4.2 or in a 4.1.x release.