Merge pull request #3602 from leigh-pointer/ENH#3538-PgModDateActive
Start Date and Expiry Date for Module instances and Pages #3538
This commit is contained in:
		| @ -56,11 +56,12 @@ namespace Oqtane.Themes.Controls | ||||
|             var url = route.PathAndQuery; | ||||
|  | ||||
|             // verify if anonymous users can access page | ||||
|             if (!UserSecurity.IsAuthorized(null, PermissionNames.View, PageState.Page.PermissionList)) | ||||
|             if (!UserSecurity.IsAuthorized(null, PermissionNames.View, PageState.Page.PermissionList) || !Utilities.IsPageModuleVisible(PageState.Page.EffectiveDate, PageState.Page.ExpiryDate)) | ||||
|             { | ||||
|                 url = PageState.Alias.Path; | ||||
|             } | ||||
|  | ||||
|  | ||||
|             if (PageState.Runtime == Shared.Runtime.Hybrid) | ||||
|             { | ||||
|                 // hybrid apps utilize an interactive logout | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker