2016-06-16 23:09:34 +05:30
|
|
|
# == AccessRequestable concern
|
|
|
|
#
|
|
|
|
# Contains functionality related to objects that can receive request for access.
|
|
|
|
#
|
|
|
|
# Used by Project, and Group.
|
|
|
|
#
|
|
|
|
module AccessRequestable
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
def request_access(user)
|
2016-11-03 12:29:30 +05:30
|
|
|
Members::RequestAccessService.new(self, user).execute
|
2016-06-16 23:09:34 +05:30
|
|
|
end
|
|
|
|
end
|