mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 23:23:45 +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() {
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
})
|