[ 
https://issues.apache.org/jira/browse/AURORA-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zameer Manji updated AURORA-1628:
---------------------------------
    Description: 
Sometimes users see messages like this when they are not authorized:

{noformat}
Error scheduling cron job zone/role/env/job:
        Subject 
org.apache.shiro.web.subject.support.WebDelegatingSubject@5ff88886 is not 
permitted to JobScopedRpcPermission{rpc=scheduleCronJob, 
permittedJob=IJobKey{role=role, environment=env, name=job}}.
{noformat}

We need to print out the subject name to make this error message more clear.

  was:
Sometimes users see messages like this when they are not authorized:

{noformat}
Error scheduling cron job zone/role/env/job:
        Subject 
org.apache.shiro.web.subject.support.WebDelegatingSubject@5ff88886 is not 
permitted to JobScopedRpcPermission{rpc=scheduleCronJob, 
permittedJob=IJobKey{role=role, environment=env, name=job}}.
{noformat}


> ShiroAuthorizingParamInterceptor failure messages are not descriptive
> ---------------------------------------------------------------------
>
>                 Key: AURORA-1628
>                 URL: https://issues.apache.org/jira/browse/AURORA-1628
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Zameer Manji
>
> Sometimes users see messages like this when they are not authorized:
> {noformat}
> Error scheduling cron job zone/role/env/job:
>       Subject 
> org.apache.shiro.web.subject.support.WebDelegatingSubject@5ff88886 is not 
> permitted to JobScopedRpcPermission{rpc=scheduleCronJob, 
> permittedJob=IJobKey{role=role, environment=env, name=job}}.
> {noformat}
> We need to print out the subject name to make this error message more clear.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to