Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs_fs2erp5_gadget
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
officejs_fs2erp5_gadget
Commits
5884318e
Commit
5884318e
authored
Sep 12, 2017
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add permission
parent
7647f66c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
jio_fs2erp5storage.js
jio_fs2erp5storage.js
+33
-1
No files found.
jio_fs2erp5storage.js
View file @
5884318e
...
...
@@ -185,6 +185,38 @@
};
}
obj
.
_Access_contents_information_Permission
=
[
"
Anonymous
"
,
"
Assignee
"
,
"
Assignor
"
,
"
Associate
"
,
"
Auditor
"
,
"
Manager
"
,
"
Owner
"
];
obj
.
_Add_portal_content_Permission
=
[
"
Assignee
"
,
"
Assignor
"
,
"
Manager
"
];
obj
.
_Change_local_roles_Permission
=
[
"
Assignor
"
,
"
Manager
"
];
obj
.
_Modify_portal_content_Permission
=
[
"
Assignee
"
,
"
Assignor
"
,
"
Manager
"
];
obj
.
_View_Permission
=
[
"
Anonymous
"
,
"
Assignee
"
,
"
Assignor
"
,
"
Associate
"
,
"
Auditor
"
,
"
Manager
"
,
"
Owner
"
];
add_record
(
obj
.
portal_type
,
"
erp5.portal_type
"
,
function
()
{
return
pickle
(
obj
);
});
...
...
@@ -314,7 +346,7 @@
path
=
path
.
replace
(
scope
.
delete_path_part
,
""
);
}
path
=
path
.
split
(
"
/
"
).
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
);
if
(
path
[
path
.
length
-
1
]
===
"
_
"
)
{
if
(
path
[
path
.
length
-
1
]
===
"
_
"
)
{
path
=
path
+
"
*
"
;
}
context
.
_template_path_list
[
context
.
_options
.
id_prefix
+
path
]
=
1
;
...
...
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