mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-15 10:57:58 +00:00
fix ownership checking bug
This commit is contained in:
parent
2e6a1e2b93
commit
42bac36e70
@ -81,7 +81,7 @@ export default class DatasetAuthors extends Component {
|
|||||||
* @type {ComputedProperty<boolean>}
|
* @type {ComputedProperty<boolean>}
|
||||||
* @memberof DatasetAuthors
|
* @memberof DatasetAuthors
|
||||||
*/
|
*/
|
||||||
requiredMinNotConfirmed: ComputedProperty<boolean> = computed('confirmedOwners.length', function(
|
requiredMinNotConfirmed: ComputedProperty<boolean> = computed('confirmedOwners.@each.type', function(
|
||||||
this: DatasetAuthors
|
this: DatasetAuthors
|
||||||
) {
|
) {
|
||||||
return isRequiredMinOwnersNotConfirmed(get(this, 'confirmedOwners'));
|
return isRequiredMinOwnersNotConfirmed(get(this, 'confirmedOwners'));
|
||||||
|
@ -25,7 +25,7 @@ enum OwnerIdType {
|
|||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
enum OwnerType {
|
enum OwnerType {
|
||||||
Owner = 'Owner',
|
Owner = 'DataOwner',
|
||||||
Consumer = 'Consumer',
|
Consumer = 'Consumer',
|
||||||
Delegate = 'Delegate',
|
Delegate = 'Delegate',
|
||||||
Producer = 'Producer',
|
Producer = 'Producer',
|
||||||
|
@ -14,7 +14,7 @@ export default <Array<IOwner>>[
|
|||||||
namespace: OwnerUrnNamespace.corpUser,
|
namespace: OwnerUrnNamespace.corpUser,
|
||||||
source: OwnerSource.Ui,
|
source: OwnerSource.Ui,
|
||||||
subType: null,
|
subType: null,
|
||||||
type: 'Owner'
|
type: 'DataOwner'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
confirmedBy: '',
|
confirmedBy: '',
|
||||||
@ -28,6 +28,6 @@ export default <Array<IOwner>>[
|
|||||||
namespace: OwnerUrnNamespace.corpUser,
|
namespace: OwnerUrnNamespace.corpUser,
|
||||||
source: OwnerSource.Nuage,
|
source: OwnerSource.Nuage,
|
||||||
subType: null,
|
subType: null,
|
||||||
type: 'Owner'
|
type: 'DataOwner'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user