[Notice] Announcing the End of Demo Server [Read me]
--- app/utils/AccessControl.java
+++ app/utils/AccessControl.java
... | ... | @@ -26,6 +26,7 @@ |
26 | 26 |
} |
27 | 27 |
|
28 | 28 |
public static boolean isCreatable(User user, Project project, ResourceType resourceType) { |
29 |
+ if (user == null) return false; |
|
29 | 30 |
if (user.isSiteManager()) { |
30 | 31 |
return true; |
31 | 32 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?