Bug 742083
| Summary: | US47: User and team administration rights for my language team defined for the translation team coordinator | ||
|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Carlos Munoz <camunoz> |
| Component: | Component-Logic, Component-UI | Assignee: | Carlos Munoz <camunoz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.4 | CC: | damason, sflaniga, zanata-bugs |
| Target Milestone: | Sprint-28 | ||
| Target Release: | 1.4.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | 8 | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-28 07:02:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 742854 | ||
| Bug Blocks: | 693610, 736898, 743789 | ||
|
Description
Carlos Munoz
2011-09-29 00:29:50 UTC
Remaining tasks: - Contact Coordinator(s) - send arbitrary email to language co-ordinator(s) - available to any logged-in user - emails all coordinators for the language team - sends to system-configured email address if no coordinator - emails to have link directly to language team page - Ask to Join Language Team - generate template email when joining team Merged into 1.4 branch - admin/coordinator page to add/remove coordinators from language team - security rule so that coordinators are translators Which one does it means? 1. Once assigned as coordinators, the user automatically gains "translator" role. 2. A user need to have translator role to be able to be added as coordinator (and be able to be shown in "Find Users To Add" dialog). The other are VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111014-1722) Number 1, more or less. We should write security rules (in security.drl) so that language coordinators will be allowed to add/modify/upload translations for their languages. While we're at it, we should refactor some of the existing security checks to go through security.drl. Added security rules to allow language team coordinators to add/modify translations. Also refactored all the tags that render conditionally based on permissions to use the security rules instead of business logic (Only for the language team page). We should probably do a sweep of the whole application looking for places where we can use security rules instead of manually validating access via business methods. Merged into 1.4 branch. On Zanata version 1.4.2-SNAPSHOT (20111021-1030) The non-admin team member still cannot translate. RE-ASSIGNED Corrected security check in the Translation Unit Handler to do a check based on the language memberships. Merged into 1.4 branch. Corrected security check in the Translation Unit Handler to do a check based on the language memberships. Merged into 1.4 branch. VERIFIED with Zanata version 1.4.2-SNAPSHOT (20111021-1207) |