Skip to content

Commit 363c8a6

Browse files
authored
Merge pull request #2892 from nextcloud/release-15.3.6
15.3.6
2 parents f44d243 + 2cc32ec commit 363c8a6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

appinfo/info.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Folders can be configured from *Group folders* in the admin settings.
1010
After a folder is created, the admin can give access to the folder to one or more groups, control their write/sharing permissions and assign a quota for the folder.
1111
1212
Note: Encrypting the contents of group folders is currently not supported.]]></description>
13-
<version>15.3.5</version>
13+
<version>15.3.6</version>
1414
<licence>agpl</licence>
1515
<author>Robin Appelman</author>
1616
<namespace>GroupFolders</namespace>

src/components/AclStateButton.vue

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<div v-else>
3636
<NcActions :aria-label="label" :v-tooltip="label">
3737
<template #icon>
38-
<component :is="icon" :size="16" />
38+
<component :class="{inherited: isInherited}" :is="icon" :size="16" />
3939
</template>
4040
<NcActionRadio name="state"
4141
:checked="state === STATES.INHERIT_ALLOW || state === STATES.INHERIT_DENY"
@@ -44,13 +44,13 @@
4444
{{ t('groupfolders', 'Inherit permission') }}
4545
</NcActionRadio>
4646
<NcActionRadio name="state"
47-
:check="state === STATES.SELF_DENY"
47+
:checked="state === STATES.SELF_DENY"
4848
:disabled="disabled"
4949
@change="$emit('update', STATES.SELF_DENY)">
5050
{{ t('groupfolders', 'Deny') }}
5151
</NcActionRadio>
5252
<NcActionRadio name="state"
53-
:check="state === STATES.SELF_ALLOW"
53+
:checked="state === STATES.SELF_ALLOW"
5454
:disabled="disabled"
5555
@change="$emit('update', STATES.SELF_ALLOW)">
5656
{{ t('groupfolders', 'Allow') }}
@@ -115,6 +115,9 @@ export default {
115115
isAllowed() {
116116
return this.state & 1
117117
},
118+
isInherited() {
119+
return (this.state & 2) === 0
120+
},
118121
icon() {
119122
switch (this.state) {
120123
case STATES.INHERIT_ALLOW:

0 commit comments

Comments
 (0)