mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
21 lines
307 B
JavaScript
21 lines
307 B
JavaScript
|
(function() {
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
angular
|
||
|
.module('harbor.services.user')
|
||
|
.factory('IsAdminService', IsAdminService);
|
||
|
|
||
|
IsAdminService.$inject = ['$http', '$log'];
|
||
|
|
||
|
function IsAdminService($http, $log) {
|
||
|
|
||
|
return IsAdmin;
|
||
|
|
||
|
function IsAdmin() {
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
})
|