airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chathuri Wimalasena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-1221) When using createProject through PHP command-line can create the Project giving any user but in DB user is saved as admin
Date Wed, 14 May 2014 13:57:17 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997556#comment-13997556
] 

Chathuri Wimalasena commented on AIRAVATA-1221:
-----------------------------------------------

Hi Eroma, 

This is because project owner is overwritten by the provided username in createProject(Project
project, string userName) method. Solution will be get rid of userName field from the API
method. 

> When using createProject through PHP command-line can create the Project giving any user
but in DB user is saved as admin
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-1221
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-1221
>             Project: Airavata
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Eroma
>
> Created a project using createProject.php giving a different user (not admin). Project
gets created and returns a project ID
> In the DB the record is saved with owner as 'admin' not the owner which was given at
the tie of creating the project.
> Shouldn't the creation fail if the owner is not existing in the system?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message