Sha256: 0b816bf32295eb2afc5e7ffda43d834b8cf7e08b53038b17a1ba1d813887781a

Contents?: true

Size: 566 Bytes

Versions: 30

Compression:

Stored size: 566 Bytes

Contents

var Auth = angular.module("Auth", ["User","Group"]);

Auth.config(["$routeProvider", function($routeProvider){
    $routeProvider.
        when("/auth", {
            templateUrl: template("auth/index")
        });
}]);

Auth.controller("AuthMenuController", ["$scope", "gettext", function($scope, gettext){
    this.menu_items = [
        {title: gettext("Users"), url: "/auth/users", permission: {action: "read", model: "Faalis::User"}},
        {title: gettext("Groups"), url: "/auth/groups", permission: {action: "read", model: "Faalis::Group"}}
        ];
}]);

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
faalis-0.17.0 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.16.3 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.16.1 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.16.0 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.15.1 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.15.0 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.14.4 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.14.3 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.14.2 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js
faalis-0.14.0 app/assets/javascripts/faalis/dashboard/modules/auth/auth.js