projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '3871-non-ascii-project-names' closes #3871
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
group.rb
diff --git
a/apps/workbench/app/models/group.rb
b/apps/workbench/app/models/group.rb
index 30488c3383b812bb7ffc32dbec524bdb88c1c2cf..3f5da155c4ca9fc5ea13d0836551a92c3c11d435 100644
(file)
--- a/
apps/workbench/app/models/group.rb
+++ b/
apps/workbench/app/models/group.rb
@@
-3,6
+3,10
@@
class Group < ArvadosBase
true
end
true
end
+ def self.copies_to_projects?
+ false
+ end
+
def self.contents params={}
res = arvados_api_client.api self, "/contents", {
_method: 'GET'
def self.contents params={}
res = arvados_api_client.api self, "/contents", {
_method: 'GET'
@@
-22,12
+26,10
@@
class Group < ArvadosBase
end
def class_for_display
end
def class_for_display
- group_class
.in?(['folder', 'project'])
? 'Project' : super
+ group_class
== 'project'
? 'Project' : super
end
end
- def editable?
- respond_to?(:writable_by) and
- writable_by and
- writable_by.index(current_user.uuid)
+ def textile_attributes
+ [ 'description' ]
end
end
end
end