Skip to content

Commit

Permalink
Add IssueHunt to issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz authored Aug 16, 2020
1 parent 219242c commit 9566185
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: hsluoyz

---

**Want to prioritize this issue? Try:**

[![issuehunt-to-marktext](https://github.com/BoostIO/issuehunt-materials/raw/master/v1/issuehunt-button-v1.svg)](https://issuehunt.io/r/casbin/casbin/issues)

------

**Describe the bug**
A clear and concise description of what the bug is.

Expand Down
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ assignees: hsluoyz

---

**Want to prioritize this issue? Try:**

[![issuehunt-to-marktext](https://github.com/BoostIO/issuehunt-materials/raw/master/v1/issuehunt-button-v1.svg)](https://issuehunt.io/r/casbin/casbin/issues)

------

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Expand Down
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ assignees: hsluoyz

---

**Want to prioritize this issue? Try:**

[![issuehunt-to-marktext](https://github.com/BoostIO/issuehunt-materials/raw/master/v1/issuehunt-button-v1.svg)](https://issuehunt.io/r/casbin/casbin/issues)

------

**What's your scenario? What do you want to achieve?**
Your answer here

**Your model**
**Your model:**

```ini
[request_definition]
Expand All @@ -29,7 +35,7 @@ e = some(where (p.eft == allow))
m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act
```

**Your policy**
**Your policy:**

```
p, alice, data1, read
Expand All @@ -40,7 +46,7 @@ p, data2_admin, data2, write
g, alice, data2_admin
```

**Your request(s)**
**Your request(s):**

```
alice, data2, read ---> false (expected: true)
Expand Down

0 comments on commit 9566185

Please sign in to comment.