Skip to content

Commit e13dba5

Browse files
authored
docs(chore): add sonar and synk badges (#115)
badges visible on package GH-114
1 parent ccaa770 commit e13dba5

File tree

2 files changed

+52
-58
lines changed

2 files changed

+52
-58
lines changed

docs/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<a href="https://www.npmjs.com/package/loopback4-authorization">
77
<img src="https://img.shields.io/npm/v/loopback4-authorization.svg?style=flat-square" alt="npm version" />
88
</a>
9+
<a href="https://sonarcloud.io/summary/overall?id=sourcefuse_loopback4-authorization" target="_blank">
10+
<img alt="Sonar Quality Gate" src="https://img.shields.io/sonar/quality_gate/sourcefuse_loopback4-authorization?server=https%3A%2F%2Fsonarcloud.io">
11+
</a>
12+
<a href="https://app.snyk.io/org/ashishkaushik/reporting?context[page]=issues-detail&project_target=%255B%2522sourcefuse%252Floopback4-authorization%2522%255D&project_origin=%255B%2522github%2522%255D&issue_status=%255B%2522Open%2522%255D&issue_by=Severity&table_issues_detail_cols=SCORE%257CCVE%257CCWE%257CPROJECT%257CEXPLOIT%2520MATURITY%257CAUTO%2520FIXABLE%257CINTRODUCED%257CSNYK%2520PRODUCT&v=1">
13+
<img alt="Synk Status" src="https://img.shields.io/badge/SYNK_SECURITY-MONITORED-GREEN">
14+
</a>
915
<a href="https://github.com/sourcefuse/loopback4-authorization/graphs/contributors" target="_blank">
1016
<img alt="GitHub contributors" src="https://img.shields.io/github/contributors/sourcefuse/loopback4-authorization">
1117
</a>
@@ -124,8 +130,8 @@ export class Role extends Entity implements Permissions<string> {
124130
#### Implement `UserPermissionsOverride` Interface
125131

126132
If using method #3 from above, implement UserPermissionsOverride interface in User model and add user level permissions array as below.
127-
Do this if there is a use-case of explicit allow/deny of permissions at user-level in the application.
128-
You can skip otherwise.
133+
Do this if there is a use-case of explicit allow/deny of permissions at user-level in the application.
134+
You can skip otherwise.
129135

130136
```ts
131137
@model({

package-lock.json

Lines changed: 44 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)