Skip to content
Snippets Groups Projects
Commit a303337b authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix: masque volet d'import sans droit de création

parent 193dd70f
No related branches found
No related tags found
1 merge request!864REDMINE_ISSUE-26303 | Masquer l'import pour utilisateur anonyme et connecté en projet modéré
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
<div class="ui bottom attached secondary segment"> <div class="ui bottom attached secondary segment">
<div <div
v-if="user && permissions.can_create_feature"
class="ui styled accordion" class="ui styled accordion"
data-test="features-import" data-test="features-import"
> >
...@@ -355,7 +356,7 @@ ...@@ -355,7 +356,7 @@
</div> </div>
<div> <div>
[ Créé le {{ feature.created_on | formatDate }} [ Créé le {{ feature.created_on | formatDate }}
<span v-if="$store.state.user"> <span v-if="user">
par {{ feature.display_creator }}</span> par {{ feature.display_creator }}</span>
] ]
</div> </div>
...@@ -478,6 +479,7 @@ export default { ...@@ -478,6 +479,7 @@ export default {
'reloadIntervalId', 'reloadIntervalId',
'configuration', 'configuration',
'isOnline', 'isOnline',
'user',
]), ]),
...mapState('projects', [ ...mapState('projects', [
'project' 'project'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment