Source code for publiforge.lib.menu

"""Class to manage user menus."""

from webhelpers2.html import literal
from sqlalchemy import select

from ..lib.i18n import _
from ..lib.utils import has_permission
from ..models import TRUE, DBSession
from ..models.groups import GROUP_USER
from ..models.storages import Storage, StorageUser
from ..models.projects import Project, ProjectUser, ProjectGroup
from ..models.tasks import Task
from ..models.jobs import Job


# =============================================================================