Unable to delete folders when logged in as a user



  • When logged in as a user, folders can be created, but afterwards even as same user, they can not be deleted. The only way to delete any folder is logging back in as admin. Is this a bug or is it meant to work like this?

    Thanks



  • I can't replicate this so far.
    Do you use the latest jsreport?
    What template store do you use? The default file system?

    Can you replicate this also with an empty store like this? Thank you

    • log in as admin
    • create a user
    • logout
    • login with custom user
    • create folder
    • delete folder


  • jsreport v2.11.0 being used.

    template store used is jsreport-postgres-store v1.3.2

    I've just executed the below steps and the folder is not being deleted (last step)
    log in as admin
    create a user
    logout
    login with custom user
    create folder
    delete folder



  • Thank you.
    I can replicate this with postgres. Analyzing...



  • I've just released the fix. Please update to jsreport-postgres-store@1.4.0. Don't forget to do the backup before.
    Please let me know if this solves the issue.



  • updated jsreport-postgres-store to 1.4.0 and issue was solved.

    many thanks


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.