TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Unable to set export action to users

Open klementrempus opened this issue 6 years ago • 12 comments

Hello,

I am unable to see the export option. I have enabled "Enable printing items to PDF file" with "YES". I only see the import optios, in the field "Define the roles that are allowed to print items" there are all the roles listed, but i haven't found a way to select or enable some of the roles, clicking, double clicking or pressing any keys does nothing, do the users from the list have to be selected additionally or are those all the users listed who should have the option to export? Please see screenshots.

1 2

Thank you,

BR, Klemen

klementrempus avatar Jun 12 '18 05:06 klementrempus

You need to select the roles that you allow to use this feature. To select, just do as with all multi-select lists, use the mouse and CTRL keyboard key.

image

nilsteampassnet avatar Jun 16 '18 05:06 nilsteampassnet

Hello,

I have already tried this, I have created a role specifically for the purpose of exporting, named "Export" and granted it the RW rights to every folder and assigned it to a user and I am still unable to see the export action, please see screens below.

image

image

image

image

Is there something else that should be done? Somehow to confirm the selection?

BR, Klemen

klementrempus avatar Jun 18 '18 06:06 klementrempus

What version of Teampass?

nilsteampassnet avatar Jun 30 '18 05:06 nilsteampassnet

Hello Nils,

Using TP 3.0.10, I am able to select the roles that will be allowed to get the option. But, though I select the appropriate roles, they don't seem to be saved. Quitting the options page to another page then returning to the options page is showing that the chosen roles were forgotten.

necarnot avatar Aug 28 '23 12:08 necarnot

Indeed, After adding some roles, I see no attempt to save these options (the usual bottom-right saving disappearing popup is not showing). I also tried to disable then enable the export feature : that allows the saving popup to appear, but anyway, the roles are not saved neither.

necarnot avatar Aug 28 '23 12:08 necarnot

I'm having the same issue... an error is shown in the console when a role is added to the list:

Uncaught TypeError: currentString.replace is not a function
    at fieldDomPurifierWithWarning (functions.js:537:39)
    at HTMLSelectElement.<anonymous> (index.php?page=options:3759:17)
    at HTMLDocument.dispatch (jquery.min.js:2:43064)
    at v.handle (jquery.min.js:2:41048)
    at Object.trigger (jquery.min.js:2:71515)
    at HTMLSelectElement.<anonymous> (jquery.min.js:2:72110)
    at Function.each (jquery.min.js:2:3003)
    at S.fn.init.each (jquery.min.js:2:1481)
    at S.fn.init.trigger (jquery.min.js:2:72086)
    at n.select (select2.full.min.js:2:33723)
fieldDomPurifierWithWarning @ functions.js:537
(anonymous) @ index.php?page=options:3759
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
trigger @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
each @ jquery.min.js:2
each @ jquery.min.js:2
trigger @ jquery.min.js:2
n.select @ select2.full.min.js:2
(anonymous) @ select2.full.min.js:2
e.invoke @ select2.full.min.js:2
e.trigger @ select2.full.min.js:2
d.trigger @ select2.full.min.js:2
(anonymous) @ select2.full.min.js:2
e.invoke @ select2.full.min.js:2
e.trigger @ select2.full.min.js:2
(anonymous) @ select2.full.min.js:2
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

image

stvilla avatar Sep 07 '23 20:09 stvilla

Turns out it still allows users to get the export menu and use it successfully. Still something that ought to be fixed, though.

necarnot avatar Sep 08 '23 07:09 necarnot

Hello @necarnot, I cannot find the export menù...

The screenshot shows the options of our Teampass: image

If I log in as a user, I don't see the export option for folders:

image

Do you have any suggestions?

stvilla avatar Sep 08 '23 07:09 stvilla

Buongiorno @stvilla

Just like you, I was also expecting to find the export option appear at the location you outlined. Actually, it appeared there : 2023-09-08_11-10

necarnot avatar Sep 08 '23 09:09 necarnot

Hello @necarnot,

I cannot see the option in the sidebar :sob: :sob: image

I double-checked that the "enable export" flag Is on, but still, I cannot see the option...

stvilla avatar Sep 08 '23 11:09 stvilla

Hi @stvilla ,

I noticed that in the screenshot you sent, you didn't select the rules you want to export. In the Export allowed by these roles (multi-select) option you need to insert the rules previously created for export.

image

eferlin avatar Mar 06 '24 17:03 eferlin

Hi @necarnot

Even enabling the option to export to CSV, and marking the rules I want to export, I don't see either EXPORT. I've already changed it to user, teampass manager, administrator, viewer only and nothing. I'm already going crazy, I've been looking for how to do this for so long and still nothing.

However, I found something that you can test (it didn't work here). Click on the import option and change the URL to export. It didn't export anything, but it's already an advance. Can anyone test?

image

eferlin avatar Mar 06 '24 17:03 eferlin