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

13.0 mig web disable export group #1417

Closed

Conversation

ammarofficewla
Copy link

No description provided.

@ammarofficewla ammarofficewla mentioned this pull request Oct 21, 2019
41 tasks
@pedrobaeza pedrobaeza added this to the 13.0 milestone Oct 22, 2019

* David Vidal <david.vidal@tecnativa.com>

* Ammar Officewala <https://twitter.com/AmmarOfficewala>
Copy link
Contributor

Choose a reason for hiding this comment

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

It must be your email address and not any other link.

@sudhir-erpharbor
Copy link
Contributor

Please fix the travis.

Copy link
Member

@daramousk daramousk left a comment

Choose a reason for hiding this comment

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

Hi and thanks for the port.
After a functional test it seems to be working great, I have left some comments as well.

Thanks

Sidebar.include({
_addItems: function (sectionCode, items) {
var _items = items;
if (!session.is_superuser && sectionCode === 'other' && items.length && !session.group_export_data) {
Copy link
Member

Choose a reason for hiding this comment

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

While the user will not be able to see the element, they will still be able to export using web/export/ and other endpoints. Is this something we accept?


ListController.include({
_updateButtons: function (mode) {
if (this.$buttons) {
Copy link
Member

Choose a reason for hiding this comment

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

Not sure about this total overwrite of the super function, what if we called super and then conditionally hide/show the element? Other people might override here and by not calling super we can break stuff.

@yung-wang
Copy link

tested functionally and works fine here. The user wont be able to click on Export anymore, since this option is not there anymore.

Copy link

@CasVissers-360ERP CasVissers-360ERP left a comment

Choose a reason for hiding this comment

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

Functional test in EE13

@pedrobaeza
Copy link
Member

Please rebase and fix Travis

Copy link

@yung-wang yung-wang left a comment

Choose a reason for hiding this comment

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

See previous comment in april

@ValentinVinagre
Copy link
Contributor

Hi @ammarofficewla ,
do you plan to continue it?

@pedrobaeza
Copy link
Member

Superseded by #1714 as no answer for contributor and Travis is red.

@pedrobaeza pedrobaeza closed this Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.