Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
c5b83b87
Commit
c5b83b87
authored
Nov 28, 2011
by
Holger Just
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#735] Don't allow time entry edits with only log_time permission
Based on a patch by Jean-Philippe Lang.
parent
42363c32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
redmine.rb
lib/redmine.rb
+1
-1
No files found.
lib/redmine.rb
View file @
c5b83b87
...
@@ -100,7 +100,7 @@ Redmine::AccessControl.map do |map|
...
@@ -100,7 +100,7 @@ Redmine::AccessControl.map do |map|
end
end
map
.
project_module
:time_tracking
do
|
map
|
map
.
project_module
:time_tracking
do
|
map
|
map
.
permission
:log_time
,
{
:timelog
=>
[
:new
,
:create
,
:edit
,
:update
]},
:require
=>
:loggedin
map
.
permission
:log_time
,
{
:timelog
=>
[
:new
,
:create
]},
:require
=>
:loggedin
map
.
permission
:view_time_entries
,
:timelog
=>
[
:index
,
:show
],
:time_entry_reports
=>
[
:report
]
map
.
permission
:view_time_entries
,
:timelog
=>
[
:index
,
:show
],
:time_entry_reports
=>
[
:report
]
map
.
permission
:edit_time_entries
,
{
:timelog
=>
[
:new
,
:create
,
:edit
,
:update
,
:destroy
]},
:require
=>
:member
map
.
permission
:edit_time_entries
,
{
:timelog
=>
[
:new
,
:create
,
:edit
,
:update
,
:destroy
]},
:require
=>
:member
map
.
permission
:edit_own_time_entries
,
{
:timelog
=>
[
:new
,
:create
,
:edit
,
:update
,
:destroy
]},
:require
=>
:loggedin
map
.
permission
:edit_own_time_entries
,
{
:timelog
=>
[
:new
,
:create
,
:edit
,
:update
,
:destroy
]},
:require
=>
:loggedin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment