Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

User substitution #30

Closed
17 tasks done
andreysubbotin opened this issue Nov 23, 2020 · 1 comment
Closed
17 tasks done

User substitution #30

andreysubbotin opened this issue Nov 23, 2020 · 1 comment
Assignees
Milestone

Comments

@andreysubbotin
Copy link
Contributor

andreysubbotin commented Nov 23, 2020

Goal

Migrate user substitution functionality from CUBA (see CUBA docs)

Plan

  • (1d) list requirements considering CUBA implementation details
  • (sum:8d) Security logic:
    • (4h) Learn Jmix security logic details
    • (sum: 6d4h) Implementation itself
      • (2d) Store substitution
      • (sum: 4d) Spring security
        • (3d) Investigate
        • (1d)Token and provider implementation
      • (4h) Event
    • (4h) Check and migrate usages in jmix-all
    • (4h) Refactor code, rework API
  • (sum: 3d) UI part:
    • (1d) User substitution Browse/Edit screen
    • (1d) UserIndicator: ability to select user from substituted using lookup field
    • (4h) UserIndicator fixes: improve style, behaviour
    • (4h) Main screen template: add substitution logic
  • (1d) Autotests

QA Notes:

Implemented mostly like in CUBA.
Unfinished parts placed inside related issues and #111, jmix-projects/jmix-ui#689
Use Users->Additional->User substitutions to manage user substitutions:
изображение.png

@knstvk knstvk added this to the 0.3.0 milestone Dec 7, 2020
@knstvk knstvk changed the title Support user substitution functionality the same as in CUBA User substitution Dec 17, 2020
@andreysubbotin andreysubbotin modified the milestones: 0.3.0, 1.0.0 Dec 28, 2020
@knstvk knstvk modified the milestone: 1.0.0 Mar 18, 2021
@alexbudarov alexbudarov added this to the 1.1.0 milestone Jun 10, 2021
@knstvk knstvk added this to Release 1.1 (October 2021) in Jmix Roadmap - OUTDATED Aug 10, 2021
dtaimanov added a commit to jmix-projects/jmix-translations that referenced this issue Sep 13, 2021
dtaimanov added a commit to jmix-projects/jmix-templates that referenced this issue Sep 13, 2021
dtaimanov added a commit that referenced this issue Sep 13, 2021
dtaimanov added a commit to jmix-projects/jmix-reports that referenced this issue Sep 13, 2021
dtaimanov added a commit to jmix-projects/jmix-rest that referenced this issue Sep 13, 2021
dtaimanov added a commit to jmix-framework/jmix that referenced this issue Sep 13, 2021
dtaimanov added a commit to jmix-projects/jmix-ui that referenced this issue Sep 13, 2021
dtaimanov added a commit to jmix-projects/jmix-translations that referenced this issue Sep 28, 2021
dtaimanov added a commit to jmix-projects/jmix-templates that referenced this issue Sep 28, 2021
dtaimanov added a commit that referenced this issue Sep 28, 2021
dtaimanov added a commit to jmix-projects/jmix-reports that referenced this issue Sep 28, 2021
@konyashkina
Copy link

Jmix version: 1.1.0-SNAPSHOT
Jmix Studio plugin version: 1.1.SNAPSHOT3625-212
IntelliJ version: IntelliJ IDEA 2021.2.2 (Ultimate Edition)
Google Chrome 94.0.4606.81, Firefox 93.0

Tested:

  • User substitution Browse/Edit screen: CRUD (There is no validation during add User substitution action #112 )
  • unlimited substitution time, limited substitution time
  • 1 substituted user, several substituted users
  • more than 1 substitution record for 1 user
  • no transitivity
  • switch to substituted user: substitution logic
  • attributes permissions, screen permissions, specific permissions
  • BPM (My tasks, Start process screen)
  • CurrentUserSubstitution interface
  • user sessions
  • entity log
  • entity snapshots
  • user indicator
  • theme settings for substituted user
  • table presentation for substituted user
  • localization (tested russian only)

no docs: jmix-framework/jmix-docs#276

@knstvk knstvk removed this from October 2021 feature release 1.1 in Jmix Roadmap - OUTDATED Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants