Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
link
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
link
Commits
0120dccac13d
Commit
0120dccac13d
authored
15 years ago
by
Sylvain Thénault
Browse files
Options
Downloads
Plain Diff
merge
parents
e6f82bd08bc0
f2fba651a9cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
schema.py
+1
-8
1 addition, 8 deletions
schema.py
with
1 addition
and
8 deletions
schema.py
+
1
−
8
View file @
0120dcca
from
yams.buildobjs
import
EntityType
,
RelationType
,
String
,
Boolean
from
yams.buildobjs
import
EntityType
,
RelationType
,
String
,
Boolean
,
RichString
try
:
from
yams.buildobjs
import
RichString
except
ImportError
:
from
cubicweb.schema
import
RichString
_
=
unicode
_
=
unicode
class
Link
(
EntityType
):
class
Link
(
EntityType
):
...
@@ -17,7 +11,6 @@
...
@@ -17,7 +11,6 @@
description
=
RichString
(
fulltextindexed
=
True
,
description
=
RichString
(
fulltextindexed
=
True
,
description
=
_
(
"
description of the linked page
'
s content
"
))
description
=
_
(
"
description of the linked page
'
s content
"
))
class
embed
(
RelationType
):
class
embed
(
RelationType
):
__permissions__
=
{
'
read
'
:
(
'
managers
'
,
'
users
'
,
'
guests
'
),
__permissions__
=
{
'
read
'
:
(
'
managers
'
,
'
users
'
,
'
guests
'
),
'
delete
'
:
(
'
managers
'
,),
'
delete
'
:
(
'
managers
'
,),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment