mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
give optional map permission to git_system_t on git_user_content_t
This commit is contained in:
parent
43b27145a9
commit
836f41ee80
1 changed files with 4 additions and 1 deletions
|
@ -31,12 +31,15 @@ term_dontaudit_getattr_generic_ptys(httpd_git_script_t);
|
|||
allow git_system_t git_user_content_t:dir { search getattr open read };
|
||||
allow git_system_t git_user_content_t:file { read open getattr };
|
||||
allow git_system_t git_user_content_t:lnk_file { read open getattr };
|
||||
optional_policy(`
|
||||
gen_require(` class file map; ')
|
||||
allow git_system_t git_user_content_t:file map;
|
||||
')
|
||||
|
||||
# For git-http-backend
|
||||
allow httpd_t git_user_content_t:dir { search getattr open read };
|
||||
allow httpd_t git_user_content_t:file { read open getattr };
|
||||
allow httpd_t git_user_content_t:lnk_file { read open getattr };
|
||||
|
||||
optional_policy(`
|
||||
gen_require(` class file map; ')
|
||||
allow httpd_t git_user_content_t:file map;
|
||||
|
|
Loading…
Add table
Reference in a new issue