Bug 119359
| Summary: | Permissions not properly set on new language instances with text assets | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Enterprise CMS | Reporter: | Jon Orris <jorris> |
| Component: | other | Assignee: | ccm-bugs-list |
| Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | nightly | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-03-30 22:18:57 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: | |||
| Bug Blocks: | 113496 | ||
Fixed @41909. |
Description of problem: @41844/postgres CMS Item permissions are not properly set for newly created language instances if the item has a text asset. To Reproduce: 1) Log in as an Author 2) Create an Article 3) Add some text to the article (important). 4) Go to languages and add a new language. Although the "Lock Task" links show up and seem to work, the Author has no permission to edit any attributes of the item. Note that step 3 above is key. If there is no text asset, and a new language instance is created, the permissions work fine. Occurs on fresh & upgraded databases, causes failure for Multi Lingual E-tester test. 2004-03-29 16:00:33,525 [004-1] DEBUG cms.SecurityManager - Access check: user [com.arsdigita.kernel.User:{id=12008}], object [com.arsdigita.cms.contenttypes.Article:{id=37010}], action edit_item 2004-03-29 16:00:33,525 [004-1] DEBUG permissions.PermissionService - checking cms_edit_item on [com.arsdigita.cms.contenttypes.Article:{id=37010}] for [com.arsdigita.kernel.User:{id=12008}] 2004-03-29 16:00:33,530 [004-1] DEBUG cms.SecurityManager - Doesn't have edit item permission, returning false 2004-03-29 16:00:33,530 [004-1] DEBUG workflow.WorkflowLockedComponentAccess - Superclass security check passed. SecurityManager check is false