Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENTERPRISE-25: improve license message service #1236

Merged
merged 1 commit into from
Nov 30, 2016
Merged

Conversation

olexii4
Copy link
Contributor

@olexii4 olexii4 commented Nov 28, 2016

What does this PR do?

Improve license message service

Signed-off-by: Oleksii Orel [email protected]

selection_038

hide(): void {
let now: Date = new Date();
this.$cookies.put(this.key, 'true', {
expires: new Date(now.getFullYear() + 1, now.getMonth(), now.getDate())// set the expiration to 12 months
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, set period more or equals to 10 years.

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Nov 28, 2016

@olexii4: please, add displaying error message if admin succeeded user license limit in time of adding new user at the Users page.
Also remove flag of displaying error message after removing user at the Users page if legality service doesn't return issue of succeeding user limit.

@dmytro-ndp
Copy link
Contributor

@olexii4: it seems Dashboard doesn't remove flag USER_LICENSE_HAS_REACHED_ITS_LIMIT after adding valid license which set user limit to value which > actual user number.

Copy link
Contributor

@dmytro-ndp dmytro-ndp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems dashboard doesn't remove USER_LICENSE_HAS_REACHED_ITS_LIMIT flag after admin removes users which succeeded user license limit.
Please, fix it according to issue requirements.

@olexii4
Copy link
Contributor Author

olexii4 commented Nov 29, 2016

done

Copy link
Contributor

@dmytro-ndp dmytro-ndp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@olexii4 olexii4 merged commit 8554c8f into license Nov 30, 2016
@olexii4 olexii4 deleted the ENTERPRISE-25 branch November 30, 2016 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants