Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
nk20
Commits
6bceb394
Verified
Commit
6bceb394
authored
1 year ago
by
bleizi
Browse files
Options
Downloads
Patches
Plain Diff
prez BDE sould see invoice list
parent
62cf8f9d
No related branches found
No related tags found
1 merge request
!216
Update permission
Pipeline
#12652
failed with stages
in 13 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/treasury/views.py
+1
-1
1 addition, 1 deletion
apps/treasury/views.py
with
1 addition
and
1 deletion
apps/treasury/views.py
+
1
−
1
View file @
6bceb394
...
...
@@ -108,7 +108,7 @@ class InvoiceListView(LoginRequiredMixin, SingleTableView):
name
=
""
,
address
=
""
,
)
if
not
PermissionBackend
.
check_perm
(
self
.
request
,
"
treasury.
add
_invoice
"
,
sample_invoice
):
if
not
PermissionBackend
.
check_perm
(
self
.
request
,
"
treasury.
view
_invoice
"
,
sample_invoice
):
raise
PermissionDenied
(
_
(
"
You are not able to see the treasury interface.
"
))
return
super
().
dispatch
(
request
,
*
args
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment