Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lmcrbac #18

Merged
merged 3 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,3 @@ and community-driven long-term maintenance of packages & libraries based on the

Many of the packages found in the LM-Commons repositories are former ZF-Commons packages
that were migrated to the Laminas Project framework.

## LmcUser
LmcUser is a generic user registration and authentication module for Laminas. Supports Laminas\Db and Doctrine2.

## LmcRbacMvc
LmcRbacMvc is a role-based access control Laminas MVC module to provide additional features on top of Laminas\Permissions\Rbac

## LmcRbac

LmcRbac is a role-based access control module to provide additional features on top of Laminas\Permissions\Rbac (formerly zfc-rbac)

## LmcCors
LmcCors is a simple Laminas MVC module that helps you to deal with Cross-Origin Resource Sharing (CORS).

## LmcUserDoctrineORM
LmcUserDoctrineORM is a Doctrine2 ORM storage adapter for LmcUser.

## LmcAdmin
LmcAdmin is an admin interface for Laminas MVC framework.

## LmcMail
LmcMail is Wrapper for Laminas Mail that uses View Model to compose the email body.

##### Notices and Disclaimers
This is not an official Laminas Project organization.

Issues and questions related to the Laminas MVC and components
should be addressed to the Laminas Project organisation.

Laminas is a trademark of the Laminas Project, a Series of LF Projects, LLC.
27 changes: 0 additions & 27 deletions docs/lmc-admin/01-introduction.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/lmc-rbac/01-introduction.md

This file was deleted.

25 changes: 0 additions & 25 deletions docs/lmc-rbac/02-installtion.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/lmc-rbac/_category_.json

This file was deleted.

File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions docs/packages/LmcRbac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
sidebar_position: 5
---

Role-based access control module to provide additional features on top of Laminas\Permissions\Rbac (formerly zfc-rbac)

[Documentation](https://lm-commons.github.io/LmcRbac)
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions docs/packages/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Packages",
"position": 2,
"link": {
"type": "generated-index"
}
}
32 changes: 32 additions & 0 deletions docs/packages/lmc-admin/01-introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Introduction

### LmcAdmin Module for Laminas Framework
Originally created by [Jurian Sluiman](http://juriansluiman.nl) and [Martin Shwalbe](https://github.com/Hounddog).

## Introduction
LmcAdmin is a minimal admin interface for generic administrative purposes. It is a common screen with navigation that
hides behind authentication and authorization.

## Installation
LmcAdmin is enabled to be installed via composer.
Load `lm-commons/lmc-admin` in your `composer.json` file. You can specify its version (currently only 1.0.0 is
recommended) or use `dev-master` to load the latest version from master. Enable LmcAdmin in
your `module.config.php` configuration file.

If you do not want to use composer, clone this project (either as a git submodule or not) into `./vendor/` directory.

## Usage
LmcAdmin allows you to create routes under a single parent "admin" route. You can also use it to enable navigation
in your admin layout. Furthermore integration of [LmcRbacMvc](https://github.com/LM-Commons/LmcRbacMvc) is provided.

The complete configuration is flexible, so you can update the `lmcadmin` parent route, its children, the navigation
and all default provided view scripts.

## Development
LmcAdmin is currently under development. The authors feel LmcAdmin is stable enough for production versions and
you can always fix your LmcAdmin version to a specific tag.

## Support

- File issues at https://github.com/LM-Commons/LmcAdmin/issues.
- Ask questions in the [LM-Commons Slack](https://join.slack.com/t/lm-commons/shared_invite/zt-2gankt2wj-FTS45hp1W~JEj1tWvDsUHQ) chat.
File renamed without changes.
4 changes: 4 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ const config = {
href: 'https://lm-commons.github.io/LmcMail/',
label: 'LmcMail'
},
{
href: 'https://lm-commons.github.io/LmcRbac/',
label: 'LmcRbac'
},
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
mainSidebar: [{type: 'autogenerated', dirName: '.'}],
packages: [{type: "autogenerated", dirName: 'packages'}],
// lmcRbacMvc: [{type: 'autogenerated', dirName: 'lmc-rbac-mvc'}],
// lmcUser: [{type: 'autogenerated', dirName: 'lmc-user'}],
// lmcCors: [{type: 'autogenerated', dirName: 'lmc-cors'}],
lmcRbac: [{type: 'autogenerated', dirName: 'lmc-rbac'}],
// lmcRbac: [{type: 'autogenerated', dirName: 'lmc-rbac'}],
// lmcMail: [{type: 'autogenerated', dirName: 'lmc-mail'}],

// But you can create a sidebar manually
Expand Down
7 changes: 5 additions & 2 deletions src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const PackageList = [
Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
</>
),
href: '/docs/lmc-rbac/introduction',
href: 'https://lm-commons.github.io/LmcRbac/',
},
{
title: 'LmcAdmin',
Expand All @@ -60,7 +60,7 @@ const PackageList = [
LmcAdmin Module for Laminas Framework
</>
),
href: '/docs/lmc-admin/introduction',
href: '/docs/packages/lmc-admin/introduction',
},
];

Expand Down Expand Up @@ -116,6 +116,7 @@ function Feature({Svg, title, description}) {
}
*/

/*
function Package({title, description, href}) {
return (
<div className={clsx('col col--4 margin-top--md')}>
Expand All @@ -133,6 +134,8 @@ function Package({title, description, href}) {
);
}

*/

function PackageCard({title, description, href}) {
return (
<div className={clsx('card-demo col col--4 margin-bottom--md')}>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/disclaimer.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ This is not an official Laminas Project organization.
Issues and questions related to the Laminas MVC and components
should be addressed to the Laminas Project organisation.

Laminas is a trademark of the Laminas Project, a Series of LF Projects,
Laminas is a trademark of the Laminas Project, a Series of LF Projects, LLC.