java.lang.IllegalArgumentException: Unknown global permission: profileattachments

Atlassian JIRA | Husein Alatas [Atlassian] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h5. Steps to Reproduce # Change system locale to Turkish # Go to {{Dashboard -> Administration -> View Global Permissions}} # Edit Permissions You will get a System Error page with something like this {code} org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException: Unknown global permission: profileattachments at com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnGroup(EditGlobalPermissionsAdministrator.java:100) {code} \\ h5. Findings || Confluence Version || Remark || | 3.1, 3.1.1, 3.1.2, 3.2 | Tested and affected | | 2.10.4, 3.0.0_01, 3.0.1, 3.0.2 | Unable to test due to [CONF-17160] | \\ h5. Workaround Cited from [CONF-7168|http://jira.atlassian.com/browse/CONF-7168?focusedCommentId=67700&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_67700] {quote} As a work-around, please pass these arguments to your JVM by adding them to JAVA_OPTS in setenv.bat: -Duser.country=EN -Duser.language=en {quote}

    Atlassian JIRA | 7 years ago | Husein Alatas [Atlassian]
    java.lang.IllegalArgumentException: Unknown global permission: profileattachments
  2. 0

    h5. Steps to Reproduce # Change system locale to Turkish # Go to {{Dashboard -> Administration -> View Global Permissions}} # Edit Permissions You will get a System Error page with something like this {code} org.apache.velocity.exception.MethodInvocationException: Invocation of method 'canSetPermissionOnGroup' in class com.atlassian.confluence.security.actions.EditGlobalPermissionsAction threw exception java.lang.IllegalArgumentException: Unknown global permission: profileattachments at /admin/permissions/editglobalperms.vm[line 53, column 52] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) caused by: java.lang.IllegalArgumentException: Unknown global permission: profileattachments at com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnGroup(EditGlobalPermissionsAdministrator.java:100) {code} \\ h5. Findings || Confluence Version || Remark || | 3.1, 3.1.1, 3.1.2, 3.2 | Tested and affected | | 2.10.4, 3.0.0_01, 3.0.1, 3.0.2 | Unable to test due to [CONF-17160] | \\ h5. Workaround Cited from [CONF-7168|http://jira.atlassian.com/browse/CONF-7168?focusedCommentId=67700&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_67700] {quote} As a work-around, please pass these arguments to your JVM by adding them to JAVA_OPTS in setenv.bat: -Duser.country=EN -Duser.language=en {quote}

    Atlassian JIRA | 7 years ago | Husein Alatas [Atlassian]
    java.lang.IllegalArgumentException: Unknown global permission: profileattachments

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown global permission: profileattachments

      at com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnGroup()
    2. com.atlassian.confluence
      EditGlobalPermissionsAdministrator.canSetPermissionOnGroup
      1. com.atlassian.confluence.security.administrators.EditGlobalPermissionsAdministrator.canSetPermissionOnGroup(EditGlobalPermissionsAdministrator.java:100)
      1 frame