Skip to content

Commit

Permalink
Merge pull request #20 from Cyber4All/main
Browse files Browse the repository at this point in the history
Merge `main` into `releases` 9/22
  • Loading branch information
JosueMolinaMorales authored Sep 23, 2022
2 parents 86f44da + 898a48d commit 96ddd76
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- [Documentation Module](#documentation-module)
- [Behavior Module](#behavior-module)
- [Degree Module](#degree-module)
- [Effectiveness Module](#effectiveness-module)
- [Employability Module](#employability-module)
- [User Module](#user-module)
- [ApiKey Module](#apikey-module)
- [Search Module](#search-module)
Expand Down Expand Up @@ -129,13 +129,13 @@ In the current version of the competency api, there are no microservices. Which
| competency:degree:* | Wilcard for the Degree Module |
| competency:degree:updateDraft | Update the degree field of a draft competency |
| competency:degree:updateSubmitted | Update the degree field of a submitted competency |
### Effectiveness Module
### Employability Module

| Action | Description |
| ------ | ----------- |
| competency:effectiveness:* | Wilcard for the Effectiveness Module |
| competency:effectiveness:updateDraft | Update the effectiveness field of a draft competency |
| competency:effectiveness:updateSubmitted | Update the effectiveness field of a submitted competency |
| competency:employability:* | Wilcard for the Employability Module |
| competency:employability:updateDraft | Update the employability field of a draft competency |
| competency:employability:updateSubmitted | Update the employability field of a submitted competency |
### User Module

| Action | Description |
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "competency-acl",
"version": "0.1.0",
"version": "0.2.0",
"description": "",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down
12 changes: 6 additions & 6 deletions src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum MODULES {
documentation = "documentation",
behavior = "behavior",
degree = "degree",
effectiveness = "effectiveness",
employability = "employability",
user = "user",
apiKey = "apiKey",
search = "search",
Expand Down Expand Up @@ -59,10 +59,10 @@ export const competencyAcl = {
updateDraft: `${SERVICES.competency}:${MODULES.degree}:updateDraft`,
updateSubmitted: `${SERVICES.competency}:${MODULES.degree}:updateSubmitted`
},
effectiveness: {
wildcard: `${SERVICES.competency}:${MODULES.effectiveness}:*`,
updateDraft: `${SERVICES.competency}:${MODULES.effectiveness}:updateDraft`,
updateSubmitted: `${SERVICES.competency}:${MODULES.effectiveness}:updateSubmitted`
employability: {
wildcard: `${SERVICES.competency}:${MODULES.employability}:*`,
updateDraft: `${SERVICES.competency}:${MODULES.employability}:updateDraft`,
updateSubmitted: `${SERVICES.competency}:${MODULES.employability}:updateSubmitted`
},
user: {
wildcard: `${SERVICES.competency}:${MODULES.user}:*`,
Expand Down Expand Up @@ -108,7 +108,7 @@ export const basic_user_permissions = [
competencyAcl.documentation.updateDraft,
competencyAcl.behavior.updateDraft,
competencyAcl.degree.updateDraft,
competencyAcl.effectiveness.updateDraft,
competencyAcl.employability.updateDraft,
competencyAcl.user.getProfile,
competencyAcl.user.updateAccount,
competencyAcl.search.wildcard,
Expand Down

0 comments on commit 96ddd76

Please sign in to comment.