lib/rally_user_helper.rb
def check_default_permission_type(value)

        type = :stringsource
        if !value.match(/@/).nil? then
            type = :usersource
        end
        return type
    end
# Checks to see if input record is using:
# Text string (i.e. Editor, Viewer)
# Or
# User (i.e. john.doe@company.com)
# as source of default permissions
Checks to see if input record is using:
Text string
Or
User
as source of default permissions
Checks to see if input record is using : Text string Or User as source of default permissions
def check_default_permission_type(value)
        type = :stringsource
        if !value.match(/@/).nil? then
            type = :usersource
        end
        return type
    end
def check_default_permission_type ( value ) type = :stringsource if ! value . match ( / @ / ) . nil? then type = :usersource end return type end
Checks to see if input record is using:
Text string (i.e.
Checks to see if input record is using : Text string ( i . e .
value