Skip to content

Commit

Permalink
Merge pull request #259 from smk4664/user_permissions
Browse files Browse the repository at this point in the history
Release Candidate Prep
  • Loading branch information
smk4664 authored Sep 19, 2023
2 parents 2c4acf9 + f6afed8 commit d4c4487
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
fail-fast: true
matrix:
python-version: ["3.10"]
nautobot-version: ["2.0.0-rc.2"]
nautobot-version: ["2.0.0-rc.3"]
runs-on: "ubuntu-20.04"
env:
INVOKE_NAUTOBOT_CHATOPS_PYTHON_VER: "${{ matrix.python-version }}"
Expand Down
17 changes: 3 additions & 14 deletions nautobot_chatops/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Meta:
"""Meta for CommandToken Serializer."""

model = CommandToken
fields = ("id", "comment", "platform", "token", "url")
fields = "__all__"


class AccessGrantSerializer(NautobotModelSerializer):
Expand All @@ -28,7 +28,7 @@ class Meta:
"""Meta for AccessGrant Serializer."""

model = AccessGrant
fields = ("id", "command", "subcommand", "grant_type", "name", "value", "url")
fields = "__all__"


class CommandLogSerializer(NautobotModelSerializer):
Expand All @@ -38,15 +38,4 @@ class Meta:
"""Meta for CommandLog Serializer."""

model = CommandLog
fields = (
"id",
"start_time",
"user_name",
"user_id",
"platform",
"command",
"subcommand",
"params",
"status",
"details",
)
fields = "__all__"
52 changes: 44 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nautobot-chatops"
version = "3.0.0"
version = "3.0.0rc1"
description = "A plugin providing chatbot capabilities for Nautobot"
authors = ["Network to Code, LLC <[email protected]>"]
readme = "README.md"
Expand Down Expand Up @@ -43,7 +43,7 @@ ipfabric = { version = "~6.0.9", optional = true }
ipfabric-diagrams = { version = "~6.0.2", optional = true }
isodate = { version = "^0.6.1", optional = true }
meraki = { version = "^1.7.2", optional = true }
nautobot = "2.0.0rc2"
nautobot = "2.0.0rc3"
nautobot-capacity-metrics = "^3.0.0rc3"
netmiko = { version = "^3.4.0", optional = true }
netutils = { version = "^1.1.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def is_truthy(arg):
namespace.configure(
{
"nautobot_chatops": {
"nautobot_ver": "2.0.0-rc.2",
"nautobot_ver": "2.0.0-rc.3",
"project_name": "nautobot-chatops",
"python_ver": "3.10",
"local": False,
Expand Down

0 comments on commit d4c4487

Please sign in to comment.