         "$q",
         "$tgLocation",
         "$tgNavUrls",
+        "$tgModel",
         "tgAppMetaService",
         "$translate",
         "tgErrorHandlingService",


    loadProject: ->
        project = @projectService.project.toJS()

        if not project.i_am_admin
            @errorHandlingService.permissionDenied()

    ]

    constructor: (@scope, @rootscope, @repo, @confirm, @rs, @params, @q, @location, @navUrls,
                  @model, @appMetaService, @translate, @errorHandlingService, @projectService) ->
        bindMethods(@)

        @scope.sectionName = "ADMIN.MENU.PERMISSIONS"
