This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fixed 项目member增加bot访问
pull/342/head
xxq250
3 years ago
parent
17c87f1043
commit
004f5a096d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/concerns/project_operable.rb
+ 1
- 1
app/models/concerns/project_operable.rb
View File
@@ -95,7 +95,7 @@ module ProjectOperable
# 安装bot后的权限
def is_install_bot?(user)
user.platform == "bot" && BotInstall.joins(:bot).where(bot: { uid: user
_
id }).where(store_id: self.id).exists?
user.platform == "bot" && BotInstall.joins(:bot).where(bot: { uid: user
.
id }).where(store_id: self.id).exists?
end
def member?(user_id)
Write
Preview
Loading…
Cancel
Save