mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-14 18:38:27 +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>}
|
||||
* @memberof DatasetAuthors
|
||||
*/
|
||||
requiredMinNotConfirmed: ComputedProperty<boolean> = computed('confirmedOwners.length', function(
|
||||
requiredMinNotConfirmed: ComputedProperty<boolean> = computed('confirmedOwners.@each.type', function(
|
||||
this: DatasetAuthors
|
||||
) {
|
||||
return isRequiredMinOwnersNotConfirmed(get(this, 'confirmedOwners'));
|
||||
|
@ -25,7 +25,7 @@ enum OwnerIdType {
|
||||
* @type {string}
|
||||
*/
|
||||
enum OwnerType {
|
||||
Owner = 'Owner',
|
||||
Owner = 'DataOwner',
|
||||
Consumer = 'Consumer',
|
||||
Delegate = 'Delegate',
|
||||
Producer = 'Producer',
|
||||
|
@ -14,7 +14,7 @@ export default <Array<IOwner>>[
|
||||
namespace: OwnerUrnNamespace.corpUser,
|
||||
source: OwnerSource.Ui,
|
||||
subType: null,
|
||||
type: 'Owner'
|
||||
type: 'DataOwner'
|
||||
},
|
||||
{
|
||||
confirmedBy: '',
|
||||
@ -28,6 +28,6 @@ export default <Array<IOwner>>[
|
||||
namespace: OwnerUrnNamespace.corpUser,
|
||||
source: OwnerSource.Nuage,
|
||||
subType: null,
|
||||
type: 'Owner'
|
||||
type: 'DataOwner'
|
||||
}
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user