Skip to content

Commit

Permalink
Merge pull request #3 from fleetbase/feature-universe-powered-extensions
Browse files Browse the repository at this point in the history
Feature universe powered extensions
  • Loading branch information
roncodes authored Jul 23, 2023
2 parents da87833 + 6716e3c commit 4fa6851
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 50 deletions.
4 changes: 4 additions & 0 deletions addon/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export default class IAMEngine extends Engine {
services,
externalRoutes,
};
setupExtension = function (app, engine, universe) {
// register menu item in header
universe.registerHeaderMenuItem('IAM', 'console.iam', { icon: 'shield-halved', priority: 3 });
}
}

loadInitializers(IAMEngine, modulePrefix);
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "@fleetbase/iam-engine",
"extension": "IAM",
"icon": "shield-halved",
"version": "0.0.2",
"priority": 3,
"version": "0.0.3",
"description": "Fleetbase IAM extension provides identity and access management module for managing users, permissions and policies.",
"fleetbase": {
"route": "iam",
"dashboard": "int/v1/metrics/iam-dashboard"
},
"description": "Fleetbase IAM extension provides identity and access management module for managing users, permissions and policies.",
"keywords": [
"fleetbase-extension",
"identity-access-management",
Expand Down Expand Up @@ -39,8 +37,8 @@
"test:ember-compatibility": "ember try:each"
},
"dependencies": {
"@fleetbase/ember-core": "^0.0.8",
"@fleetbase/ember-ui": "^0.1.2",
"@fleetbase/ember-core": "^0.1.0",
"@fleetbase/ember-ui": "^0.1.3",
"@fortawesome/ember-fontawesome": "^0.4.1",
"@fortawesome/fontawesome-svg-core": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
Expand Down
108 changes: 65 additions & 43 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4fa6851

Please sign in to comment.