Skip to content

Commit a8a2690

Browse files
Merge pull request #24 from ambitus/gh-pages-beta-user-updates
Gh pages beta user updates
2 parents bf753f7 + 7631c91 commit a8a2690

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2932
-207
lines changed

_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permalink: /:title/
2121
logo: "/assets/images/logo.png"
2222

2323
# Build settings
24-
remote_theme: just-the-docs/just-the-docs@main
24+
remote_theme: just-the-docs/just-the-docs@v0.6.2
2525
include:
2626
- contribute.markdown
2727
color_scheme: dark
@@ -61,6 +61,12 @@ callouts:
6161
note:
6262
title: 💡 Note
6363
color: blue
64+
experimental:
65+
title: 🚧 Experimental
66+
color: red
67+
development_status:
68+
title: 💻 Development Status
69+
color: green
6470

6571
mermaid:
6672
# Version of mermaid library

access/advanced/add.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ def add(
2525

2626
#### 📄 Description
2727

28+
 
29+
30+
{: .experimental }
31+
> _Only a subset of available **Traits** are considered **Stable**. See [Traits](../segments_traits_operators#traits) for more details._
32+
33+
 
34+
2835
Create a new **permission**.
2936

3037
#### 📥 Parameters
@@ -65,7 +72,7 @@ traits = {
6572
"base:access": "READ",
6673
}
6774

68-
access_admin.add("TESTING", "ELIJTEST", "ESWIFT", traits)
75+
access_admin.add("TESTING", "ELIJTEST", "ESWIFT", traits=traits)
6976
```
7077

7178
###### Security Result Dictionary as JSON

access/advanced/alter.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ def alter(
2727

2828
 
2929

30+
{: .experimental }
31+
> _Only a subset of available **Traits** are considered **Stable**. See [Traits](../segments_traits_operators#traits) for more details._
32+
33+
 
34+
3035
{: .warning }
3136
> _Alter operations in pyracf require READ access to `IRR.IRRSMO00.PRECHECK` in the `XFACILIT` class_
3237
> _This function will not produce output unless the user running the command has this access._
@@ -72,7 +77,7 @@ traits = {
7277
"base:access": "NONE",
7378
}
7479

75-
access_admin.alter("TESTING", "ELIJTEST", "ESWIFT", traits)
80+
access_admin.alter("TESTING", "ELIJTEST", "ESWIFT", traits=traits)
7681
```
7782

7883
###### Security Result Dictionary as JSON

access/advanced/segments_traits_operators.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,38 @@ parent: Advanced
66

77
# Segments, Traits, and Operators
88

9-
Relevant information about using `segments` dictionaries, `traits` dictionaries, and `operators`.
9+
Information about permission `segments` dictionaries, `traits` dictionaries, and `operators`.
1010
{: .fs-6 .fw-300 }
1111

1212
### Segments
1313

1414
 
1515

16+
{: .experimental }
17+
> _Note that just because a **Segment** is considered **Stable** that does not mean that all of the **Traits** in that **Segment** are considered **Stable**. See [Traits](#traits) for more detail._
18+
19+
 
20+
1621
{: .warning }
1722
> _There are no additional segments for **Access** administartion._
1823
> _Also, note that there is no **Profile Extract** function for **Access** administration. Some access information can be extracted using **[`ResourceAdmin.extract()`](../../../resource/standard/extract#resourceadminextract)** or **[`DataSetAdmin.extract()`](../../../data_set/standard/extract#datasetadminextract)** depending on the type of profile in question._
1924
2025
 
2126

27+
| **Segment** | **Description** |
28+
| `Base` | Describes a permission's **Base** attributes. |
29+
2230
### Traits
2331

2432
 
2533

34+
{: .experimental }
35+
> _**Traits** that are **NOT** documented below are considered **Experimental**._
36+
37+
 
38+
2639
{: .note }
27-
> _All **key-value pair traits** can be set to `False` in **[`AccessAdmin.alter()`](../alter#accessadminalter)** to indicate that they should be removed or unset._
40+
> _Some **Traits** can be set to `False` to delete their existing values._
2841
2942
 
3043

@@ -37,7 +50,7 @@ Traits use the following syntax: `<segment>:<trait>`
3750
&nbsp;
3851

3952
| **Trait** | **Description** | **Valid Types** |
40-
| `base:access` | Set the **access level** associated with the permission. | Add: `str`<br>Alter: `str` |
53+
| `base:access` | Set the **access level** associated with the permission. | `str` |
4154

4255
### Operators
4356

assets/css/just-the-docs-default.scss

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ a.nav-list-link {
130130
.nav-list .nav-list-item > .nav-list .nav-list-item > .nav-list .nav-list-item .nav-list-link {
131131
font-weight: lighter;
132132
font-size: 12px;
133-
text-indent: 15px;
133+
padding-left: 47px;
134134
padding-bottom: 2px;
135135
padding-top: 2px;
136136
}
@@ -235,11 +235,43 @@ blockquote.warning code.highlighter-rouge {
235235
color: #ccc;
236236
}
237237

238+
blockquote.experimental code.highlighter-rouge {
239+
background-color: #545;
240+
color: #ccc;
241+
}
242+
238243
blockquote.note a > code.highlighter-rouge,
239244
blockquote.warning a > code.highlighter-rouge {
240245
color: #abf;
241246
}
242247

248+
blockquote.note::before,
249+
blockquote.warning::before,
250+
blockquote.experimental::before {
251+
padding-bottom: 0;
252+
}
253+
254+
blockquote.note > p:first-child,
255+
blockquote.warning > p:first-child,
256+
blockquote.experimental > p:first-child {
257+
padding-top: .125rem;
258+
}
259+
260+
blockquote.warning > div.highlighter-rouge code,
261+
blockquote.warning > div.highlighter-rouge > div.highlight,
262+
blockquote.warning > div.highlighter-rouge > div.highlight pre {
263+
background-color: rgb(95, 85, 50);
264+
}
265+
266+
blockquote.warning > div.highlighter-rouge > button {
267+
background-color: rgb(95, 85, 50);
268+
border-color: rgb(95, 85, 50);
269+
}
270+
271+
.highlight .c1 {
272+
color: #0b5
273+
}
274+
243275
.main-content {
244276
margin-left: 20px;
245277
}

common/debug.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ user_admin.extract("squidwrd")
173173
{
174174
"base": {
175175
"user": "squidwrd",
176-
"name": "unknown",
176+
"name": null,
177177
"owner": "leonard",
178178
"created": "7/12/2023",
179179
"defaultGroup": "sys1",
@@ -185,7 +185,7 @@ user_admin.extract("squidwrd")
185185
],
186186
"revokeDate": null,
187187
"resumeDate": null,
188-
"lastAccess": "unknown",
188+
"lastAccess": null,
189189
"classAuthorizations": [],
190190
"logonAllowedDays": "anyday",
191191
"logonAllowedTime": "anytime",
@@ -196,7 +196,7 @@ user_admin.extract("squidwrd")
196196
"connectDate": "7/12/2023",
197197
"connects": 0,
198198
"uacc": null,
199-
"lastConnect": "unknown",
199+
"lastConnect": null,
200200
"connectAttributes": [],
201201
"revokeDate": null,
202202
"resumeDate": null

common/replace_existing_segment_traits.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Replace existing valid segment traits dictionary.
1010

1111
&nbsp;
1212

13+
{: .experimental }
14+
> _This functionality is **Experimental** and is subject to major changes and even being removed entirely._
15+
16+
&nbsp;
17+
1318
{: .note}
1419
> _Changes made using the functionality described here are scoped to the target "Admin" object instance._
1520

common/update_existing_segment_traits.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Update existing valid segment traits dictionary.
1010

1111
&nbsp;
1212

13+
{: .experimental }
14+
> _This functionality is **Experimental** and is subject to major changes and even being removed entirely._
15+
16+
&nbsp;
17+
1318
{: .note}
1419
> _Changes made using the functionality described here are scoped to the target "Admin" object instance._
1520

data_set/advanced/add.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,24 @@ def add(
1919

2020
#### 📄 Description
2121

22-
Create a new **data set** profile.
22+
&nbsp;
23+
24+
{: .experimental }
25+
> _Only a subset of available **Segments** and **Traits** are considered **Stable**. See [Segments](../segments_traits_operators#segments) and [Traits](../segments_traits_operators#traits) for more details._
26+
27+
&nbsp;
28+
29+
Create a new **data set profile**.
2330

2431
#### 📥 Parameters
2532
* `data_set`<br>
26-
The name of the **data set** profile being created.
33+
The name of the **data set profile** being created.
2734

2835
* `traits`<br>
29-
A dictionary of **traits/attributes** that should be given to the data set on creation. See [Traits](../segments_traits_operators#traits) to see what all of the valid **Data Set Traits** are.
36+
A dictionary of **traits/attributes** that should be given to the data set profile on creation. See [Traits](../segments_traits_operators#traits) to see what all of the valid **Data Set Traits** are.
3037

3138
* `volume`<br>
32-
A single **volume** name for this dataset. This argument is optional. If `generic=True` is specified, volume is ignored.
39+
A single **volume** name for this data set profile. This argument is optional. If `generic=True` is specified, volume is ignored.
3340

3441
* `generic`<br>
3542
A bool indicating whether to treat this profile as **generic** or not. This argument is optional and defaults to `False`.
@@ -44,19 +51,19 @@ Create a new **data set** profile.
4451

4552
#### 💻 Example
4653

47-
The following example **creates** a **new data set** profile called `ESWIFT.TEST.T1136242.P3020470` with two **traits/attributes** as defined in the `traits` dictionary.
54+
The following example **creates** a **new data set profile** called `ESWIFT.TEST.T1136242.P3020470` with two **traits/attributes** as defined in the `traits` dictionary.
4855

4956
###### Python Script
5057
```python
5158
from pyracf import DataSetAdmin
52-
dataset_admin = DataSetAdmin()
59+
data_set_admin = DataSetAdmin()
5360

5461
traits = {
5562
"base:universal_access": "None",
5663
"base:owner": "eswift",
5764
}
5865

59-
dataset_admin.add("ESWIFT.TEST.T1136242.P3020470", traits=traits)
66+
data_set_admin.add("ESWIFT.TEST.T1136242.P3020470", traits=traits)
6067
```
6168

6269
###### Security Result Dictionary as JSON
@@ -91,19 +98,19 @@ dataset_admin.add("ESWIFT.TEST.T1136242.P3020470", traits=traits)
9198

9299
#### 💻 Example
93100

94-
The following example **creates** a **new generic data set** profile called `ESWIFT.TEST.**` with two **traits/attributes** as defined in the `traits` dictionary.
101+
The following example **creates** a **new generic data set profile** called `ESWIFT.TEST.**` with two **traits/attributes** as defined in the `traits` dictionary.
95102

96103
###### Python Script
97104
```python
98105
from pyracf import DataSetAdmin
99-
dataset_admin = DataSetAdmin()
106+
data_set_admin = DataSetAdmin()
100107

101108
traits = {
102109
"base:universal_access": "None",
103110
"base:owner": "eswift",
104111
}
105112

106-
dataset_admin.add("ESWIFT.TEST.**", traits=traits, generic=True)
113+
data_set_admin.add("ESWIFT.TEST.**", traits=traits, generic=True)
107114
```
108115

109116
###### Security Result Dictionary as JSON

data_set/advanced/alter.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,28 @@ def alter(
2222

2323
&nbsp;
2424

25+
{: .experimental }
26+
> _Only a subset of available **Segments** and **Traits** are considered **Stable**. See [Segments](../segments_traits_operators#segments) and [Traits](../segments_traits_operators#traits) for more details._
27+
28+
&nbsp;
29+
2530
{: .warning }
2631
> _Alter operations in pyracf require READ access to `IRR.IRRSMO00.PRECHECK` in the `XFACILIT` class_
2732
> _This function will not produce output unless the user running the command has this access._
2833
2934
&nbsp;
3035

31-
Alter an existing **data set** profile.
36+
Alter an existing **data set profile**.
3237

3338
#### 📥 Parameters
3439
* `data_set`<br>
35-
The name of the **data set** profile being altered.
40+
The name of the **data set profile** being altered.
3641

3742
* `traits`<br>
38-
A dictionary of **traits/attributes** that should be given to the data set on creation. See [Traits](../segments_traits_operators#traits) to see what all of the valid **Data Set Traits** are.
43+
A dictionary of **traits/attributes** that should be given to the data set profile on creation. See [Traits](../segments_traits_operators#traits) to see what all of the valid **Data Set Traits** are.
3944

4045
* `volume`<br>
41-
A single **volume** name for this dataset. This argument is optional. If `generic=True` is specified, volume is ignored.
46+
A single **volume** name for this data set profile. This argument is optional. If `generic=True` is specified, volume is ignored.
4247

4348
* `generic`<br>
4449
A bool indicating whether to treat this profile as **generic** or not. This argument is optional and defaults to `False`.
@@ -60,14 +65,14 @@ The following example **alters** a data set profile called `ESWIFT.TEST.T1136242
6065

6166
```python
6267
from pyracf import DataSetAdmin
63-
dataset_admin = DataSetAdmin()
68+
data_set_admin = DataSetAdmin()
6469

6570
traits = {
6671
"base:universal_access": "Read",
6772
"base:owner": "eswift",
6873
}
6974

70-
dataset_admin.alter("ESWIFT.TEST.T1136242.P3020470", traits=traits)
75+
data_set_admin.alter("ESWIFT.TEST.T1136242.P3020470", traits=traits)
7176
```
7277

7378
###### Security Result Dictionary as JSON

data_set/advanced/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ has_toc: false
88

99
# Advanced
1010

11-
Data Set Administration functions that should be used to perform more complex and nuanced tasks.
11+
Data Set Profile Administration functions that should be used to perform more complex and nuanced tasks.
1212
{: .fs-6 .fw-300 }

0 commit comments

Comments
 (0)