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

User Substitution enhancement #111

Closed
gorbunkov opened this issue Oct 6, 2021 · 3 comments
Closed

User Substitution enhancement #111

gorbunkov opened this issue Oct 6, 2021 · 3 comments
Assignees
Milestone

Comments

@gorbunkov
Copy link
Contributor

Some enhancements for #30

  1. Introduce the CurrentUserSubstitution interface. It will be responsible for getting substituted user information. The CurrentAuthetication interface will contain method for getting authenticated user only.
  2. Move UserSubstitutionManager implementation to the core module
  3. Introduce UserSubstitutionProvider interface with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata).
  4. Change the UI component for selecting substituted user from combo-box to suggestion field
  5. Introduce the non-persistent UserSubstitution object.
@gorbunkov gorbunkov added this to the 1.1.0 milestone Oct 6, 2021
@gorbunkov gorbunkov self-assigned this Oct 6, 2021
gorbunkov added a commit to jmix-projects/jmix-translations that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit to jmix-projects/jmix-graphql that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit to jmix-projects/jmix-reports that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit to jmix-projects/jmix-rest that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit to jmix-framework/jmix that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit to jmix-projects/jmix-ui that referenced this issue Oct 7, 2021
CurrentUserSubstitution interface introduced. It is responsible for getting substituted user information. The CurrentAuthentication interface now contains method for getting authenticated user only;
UserSubstitutionManagerImpl implementation moved to core module;
UserSubstitutionProvider interface introduced with 2 implementations: in-memory (jmix-core) and database (jmix-securitydata);
UI component for selecting substituted user changed from combo-box to suggestion field (in substitution editor);
Non-persistent UserSubstitution object;
gorbunkov added a commit to jmix-framework/jmix that referenced this issue Oct 7, 2021
gorbunkov added a commit that referenced this issue Oct 7, 2021
Substituted user field in substitution editor is required
@lovtsovaik
Copy link

@gorbunkov please provide QA notes for testing the issue

@gorbunkov
Copy link
Contributor Author

For QA: we need to check that methods of CurrentUserSubstitution interface return correct values.

@lovtsovaik lovtsovaik assigned konyashkina and unassigned lovtsovaik Oct 7, 2021
@dtaimanov dtaimanov mentioned this issue Oct 7, 2021
17 tasks
@konyashkina
Copy link

Tested on
Jmix version: 1.1.0-SNAPSHOT
Jmix Studio plugin version: 1.1.SNAPSHOT3625-212
IntelliJ version: IntelliJ IDEA 2021.2.2 (Ultimate Edition)

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

3 participants