//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using CommunityServer.Components;
using CommunityServer.Controls;
using CommunityServer.Reader.Components;


namespace CommunityServer.Reader.Controls
{
	/// <summary>
	/// Summary description for NavigationValidator.
	/// </summary>
	public class ReaderMenuValidator : IMenuItemValidation
	{
		public ReaderMenuValidator()
		{
			//
			// TODO: Add constructor logic here
			//
		}

        public bool IsValid(CSLink link)
        {
            return ReaderConfiguration.ValidateUser(CSContext.Current.User);
        }
	}
}
